Fix mistake in doc of Random dequeuing strategy (#1443)

This commit is contained in:
Antonino Sabetta 2021-04-20 02:37:21 +02:00 committed by GitHub
parent 8415ea7eb4
commit 1680f49264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ from `q1`, the 5th from `q2` and so on. The custom worker class `rq.worker.Round
implements this strategy.
In some other circumstances, when a worker is listening to multiple queues, it can be useful
to pull jobs from the different queues randomly. The custom class `rq.worker.RoundRobinWorker`
to pull jobs from the different queues randomly. The custom class `rq.worker.RandomWorker`
implements this strategy. In fact, whenever a job is pulled from any queue, the list of queues is
shuffled, so that no queue has more priority than the other ones.