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

pull/2135/head
ibuler 2018-11-12 17:47:41 +08:00
parent e1673334af
commit f7daf26a03
1 changed files with 1 additions and 1 deletions

2
jms
View File

@ -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([