Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:5.4from
kbondurant:patch-1
Jun 2, 2017
Merged

[5.4] Fix queue size when using beanstalk driver#19465
taylorotwell merged 1 commit into
laravel:5.4from
kbondurant:patch-1

Conversation

@kbondurant

Copy link
Copy Markdown
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