mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 11:48:12 +08:00
daemonize_workers option
This commit is contained in:
@@ -91,6 +91,9 @@ class Conf(object):
|
||||
# sensible default
|
||||
WORKERS = 4
|
||||
|
||||
# Option to undaemonize the workers and allow them to spawn child processes
|
||||
DAEMONIZE_WORKERS = conf.get('daemonize_workers', True)
|
||||
|
||||
# Maximum number of tasks that each cluster can work on
|
||||
QUEUE_LIMIT = conf.get('queue_limit', int(WORKERS) ** 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user