-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get the elements from queue in block mode (#34333)
* Get the elements from queue in block mode Previously there are cases a worker get no more tests to run and quit early where there are still groups in the queue. This is because poll from Queue in unblock mode is not safe. Now poll in block mode and add a sentinal for each worker at the end of queue.
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
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