From f7daf26a034c79e5ffbb4e419f5329e0e0e6f82f Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 12 Nov 2018 17:47:41 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9celery=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=EF=BC=8C=E6=9C=80=E5=A4=A720=E4=B8=AA=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jms b/jms index 9cbf020e8..e1d12b7be 100755 --- a/jms +++ b/jms @@ -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([