Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push global jobs back when trying to steal them
When stealing jobs from the global queue, it's possible the local queue is filled up while there are still jobs we stole. Prior to this commit those jobs would be lost, resulting in processes never running again. This commit fixes this by pushing these remaining jobs back onto the global queue. This fixes #539. Changelog: fixed
- Loading branch information
1 parent
95bfb8d
commit 5b2980a
Showing
1 changed file
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters