May 2, 2023
0
Level 1
How to get current Queue size? Exclude the future jobs.
So Laravel provide a size() method on Queue facade to get the number of the jobs in a queue. But this also includes the jobs that are scheduled for later. So even if a job is scheduled to be processed after 30 mins, also included in this response.
Is there any simple way to get the count the number of jobs that are currently available to be processed?
Please or to participate in this conversation.