mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 11:08:12 +08:00
Default recycle to 500
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ WORKERS = conf.get('workers', cpu_count())
|
|||||||
COMPRESSED = conf.get('compress', False)
|
COMPRESSED = conf.get('compress', False)
|
||||||
|
|
||||||
# Number of tasks each worker can handle before it gets recycled. Useful for releasing memory
|
# Number of tasks each worker can handle before it gets recycled. Useful for releasing memory
|
||||||
RECYCLE = conf.get('recycle', 1000)
|
RECYCLE = conf.get('recycle', 500)
|
||||||
|
|
||||||
# The Django Admin label for this app
|
# The Django Admin label for this app
|
||||||
LABEL = conf.get('label', 'Django Q')
|
LABEL = conf.get('label', 'Django Q')
|
||||||
|
|||||||
Reference in New Issue
Block a user