summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonino Sabetta <antonino.sabetta@gmail.com>2021-04-20 02:37:21 +0200
committerGitHub <noreply@github.com>2021-04-20 07:37:21 +0700
commit1680f492641c7dd041551f0c2916662f47fdb7ab (patch)
tree3299d48bad0f59cf8f499effd08ac8af8d21c985
parent8415ea7eb4f9b1b705abbeca3c0c2938e34c05a6 (diff)
downloadrq-1680f492641c7dd041551f0c2916662f47fdb7ab.tar.gz
Fix mistake in doc of Random dequeuing strategy (#1443)
-rw-r--r--docs/docs/workers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docs/workers.md b/docs/docs/workers.md
index 298c451..600ffee 100644
--- a/docs/docs/workers.md
+++ b/docs/docs/workers.md
@@ -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.