Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix queue size when using beantstalk driver (#19465)
The "total_jobs" property is not the actual number of jobs left to process, but the cumulative count of jobs created in this tube in the current beanstalkd process, so it's not decreasing when a job is done. I think it's better to return the "current_jobs_ready" because it is representing the actual number of jobs waiting to be processed.
- Loading branch information