cpu核数较少的时候,celery进程数可能会少于判题服务器数量,造成无法跑满负荷
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[program:task_queue]
|
||||
command=celery -A oj worker -l DEBUG
|
||||
command=celery -A oj worker --autoscale=30,4 -l DEBUG
|
||||
directory=/code/
|
||||
user=nobody
|
||||
numprocs=1
|
||||
|
||||
Reference in New Issue
Block a user