Skip to content

Commit e3979ce

Browse files
authored
Correct argument docstring definition (#278)
1 parent 5bc175d commit e3979ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arq/worker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ class Worker:
147147
:param keep_result: default duration to keep job results for
148148
:param keep_result_forever: whether to keep results forever
149149
:param poll_delay: duration between polling the queue for new jobs
150-
:param queue_read_limit: the maximum number of jobs to pull from the queue each time it's polled; by default it
151-
equals ``max_jobs``
150+
:param queue_read_limit: the maximum number of jobs to pull from the queue each time it's polled. By default it
151+
equals ``max_jobs`` * 5, or 100; whichever is higher.
152152
:param max_tries: default maximum number of times to retry a job
153153
:param health_check_interval: how often to set the health check key
154154
:param health_check_key: redis key under which health check is set

0 commit comments

Comments
 (0)