You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* master:
test API routes
fix typo preventing traceback retrieval
avoid filters being overriden
Fix missing commits in 0.2.1
MRQ 0.2.0
requirement update
Max time (#152)
more info on workers (#151)
Save abort traceback (#149)
Copy file name to clipboardExpand all lines: docs/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ USE_LARGE_JOB_IDS = False #Do not use compacted job IDs in Redis. For compatibil
55
55
"""
56
56
QUEUES= ("default",) # The queues to listen on.Defaults to default , which will listen on all queues.
57
57
MAX_JOBS=0#Gevent:max number of jobs to do before quitting. Workaround for memory leaks in your tasks. Defaults to 0
58
+
MAX_TIME=0# max number of seconds a worker runs before quitting
58
59
MAX_MEMORY=1#Max memory (in Mb) after which the process will be shut down. Use with PROCESS = [1-N] to have supervisord automatically respawn the worker when this happens.Defaults to 1
59
60
GRENLETS=1#Max number of greenlets to use.Defaults to 1.
60
61
PROCESSES=0#Number of processes to launch with supervisord.Defaults to 0.
Copy file name to clipboardExpand all lines: docs/workers.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ It is started with a list of queues to listen to, in a specific order.
6
6
7
7
It can be started with concurrency options (multiple processes and / or multiple greenlets). We call this whole group a single 'worker' even though it is able to dequeue multiple jobs in parallel.
8
8
9
+
If a worker is started with concurrency options, it will poll for waiting jobs and dispatch them to its related processes/greenlets.
10
+
For example, if we decide to use the greenlets option, under the hood, the worker will be one python process that has a pool of greenlets which will be in charge of actually running tasks.
0 commit comments