Set concurrency=1 for system log and scheduler queues
It is not safe to use Lock and Counter entities in concurrent environment. Change-Id: I22e498c6a85c5b0de9c87d2486afdc7d8cb7c995
This commit is contained in:
parent
c1b73177a4
commit
0f3ccb1d14
@ -10,8 +10,8 @@
|
||||
### END INIT INFO
|
||||
|
||||
export SOLAR_CONFIG_OVERRIDE=/.solar_config_override
|
||||
START="$(/usr/local/bin/celery multi start 1 -A solar.orchestration.runner -P gevent -c 1000 -Q system_log,celery,scheduler --pidfile=/var/run/celery/%N.pid --logfile=/var/run/celery/%N.log)"
|
||||
STOP="$(/usr/local/bin/celery multi stopwait 1 --pidfile=/var/run/celery/%N.pid)"
|
||||
START="$(/usr/local/bin/celery multi start 2 -A solar.orchestration.runner -P gevent -c:1 1 -c:2 1000 -Q:1 scheduler,system_log -Q:2 celery --pidfile=/var/run/celery/%N.pid --logfile=/var/run/celery/%N.log)"
|
||||
STOP="$(/usr/local/bin/celery multi stopwait 2 --pidfile=/var/run/celery/%N.pid)"
|
||||
NAME=solar-celery
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user