Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Queue Cycling in Redis More Fair
The previous method of cycling queues with the Redis transport was not fair if there were a lot of empty queues. Queues waiting behind lots of empty queues and at least one very full queue will be forced to wait until the queue in front of it is rotated, and then will only get the chance to be consumed once. This changes the behavior to rotate the most recently used queue to the back of the list, elmininating the problem. Closes #166
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 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