Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] Fix queue size when using beanstalk driver #19465

Merged
merged 1 commit into from
Jun 2, 2017
Merged

[5.4] Fix queue size when using beanstalk driver #19465

merged 1 commit into from
Jun 2, 2017

Conversation

kbondurant
Copy link
Contributor

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.

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.
@kbondurant kbondurant changed the title Fix queue size when using beantstalk driver [5.4] Fix queue size when using beanstalk driver Jun 2, 2017
@taylorotwell taylorotwell merged commit 7ce053a into laravel:5.4 Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants