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

fix: whenCurrentJobsFinished should wait for all jobs #1586

Merged
merged 1 commit into from Jan 22, 2020

Conversation

gabegorelick
Copy link
Contributor

@gabegorelick gabegorelick commented Dec 11, 2019

We're currently only waiting for the first job to finish, not all active jobs.

See https://github.com/OptimalBits/bull/pull/1542/files#r356810178

Fixes #1616

@coveralls
Copy link

coveralls commented Dec 11, 2019

Coverage Status

Coverage remained the same at 93.764% when pulling d3c1527 on gabegorelick:wait-multiple-jobs into 4517dab on OptimalBits:develop.

@gabegorelick
Copy link
Contributor Author

Managed to add a test.

@holm
Copy link
Contributor

holm commented Jan 11, 2020

Would be good to have this merged and released

@gabegorelick
Copy link
Contributor Author

@manast it would be good to get this released. Users keep reporting this bug.

@manast
Copy link
Member

manast commented Jan 22, 2020

Looks great. I had missed this PR completely.

@manast manast merged commit f3f2816 into OptimalBits:develop Jan 22, 2020
@gabegorelick gabegorelick deleted the wait-multiple-jobs branch January 23, 2020 15:38
@oavanruiten oavanruiten mentioned this pull request Feb 10, 2020
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.

Queue.pause(true) awaits only 1 active job, not all active jobs
4 participants