class DatabaseQueueStatsProvider implements QueueStatsProvider
Queue stats for the database driver, read from the queue_jobs and queue_failed_jobs tables. A job is "reserved" (in-flight) once a worker has picked it up (reserved_at is set); otherwise it is pending.
Methods
Details
at
line 21
__construct( ConnectionInterface $db)
at
line 26
array
totals()
Aggregate counts across all queues on the active connection.
at
line 35
array
queues()
Per-queue pending/reserved counts, keyed by queue name.