Commit f7daf26a authored by ibuler's avatar ibuler

[Update] 修改celery运行,最大20个进程

parent e1673334
......@@ -178,7 +178,7 @@ def start_celery():
'-A', 'ops',
'-l', LOG_LEVEL.lower(),
'--pidfile', pid_file,
'-c', str(WORKERS),
'--autoscale', '20,4',
]
if DAEMON:
cmd.extend([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment