You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes a bug with picking jobs fairly when there are some empty queues. For
example, suppose queues A, and B are empty, while C and D each have 4 jobs.
Before this change, the scheduler would start searching at queue A and
eventually pick a job from C. Then it would start searching from B and pick
another job from C. Then it would start searching at C and pick a job from C.
Finally it would start searching from D and pick a job from D. So the jobs
would be executed in the order: C, C, C, D, C, D, D, D. But we would like
fair scheduling where the jobs alternate between C and D. To fix this bug,
the code starts the next search from the next queue that follows the one from
which we took the last job.
Also bump the version number to 0.1.4.
0 commit comments