From 1680f492641c7dd041551f0c2916662f47fdb7ab Mon Sep 17 00:00:00 2001 From: Antonino Sabetta Date: Tue, 20 Apr 2021 02:37:21 +0200 Subject: [PATCH] Fix mistake in doc of Random dequeuing strategy (#1443) --- docs/docs/workers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/workers.md b/docs/docs/workers.md index 298c4514..600ffee6 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.