From 95fe3b02ad158981a0332e954daa9255be487456 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Sun, 24 Apr 2016 18:30:04 +0800 Subject: [PATCH] =?UTF-8?q?cpu=E6=A0=B8=E6=95=B0=E8=BE=83=E5=B0=91?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8Ccelery=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E6=95=B0=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=B0=91=E4=BA=8E=E5=88=A4?= =?UTF-8?q?=E9=A2=98=E6=9C=8D=E5=8A=A1=E5=99=A8=E6=95=B0=E9=87=8F=EF=BC=8C?= =?UTF-8?q?=E9=80=A0=E6=88=90=E6=97=A0=E6=B3=95=E8=B7=91=E6=BB=A1=E8=B4=9F?= =?UTF-8?q?=E8=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfiles/oj_web_server/task_queue.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/oj_web_server/task_queue.conf b/dockerfiles/oj_web_server/task_queue.conf index d85f944..dd51beb 100644 --- a/dockerfiles/oj_web_server/task_queue.conf +++ b/dockerfiles/oj_web_server/task_queue.conf @@ -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