hobo-agent: kill celery agent after 100 tasks (#39131)
This commit is contained in:
parent
fa8b459c50
commit
128a8cd76a
|
@ -1,6 +1,6 @@
|
|||
[program:hobo-agent]
|
||||
; Concurrency set to 1 because there is no lock around calls to hobo_notify
|
||||
command=python2.7 /usr/bin/celery worker --hostname=agent.%%h --app=hobo.agent.worker --loglevel=INFO --concurrency=1
|
||||
command=python2.7 /usr/bin/celery worker --hostname=agent.%%h --app=hobo.agent.worker --loglevel=INFO --concurrency=1 --maxtasksperchild=100
|
||||
environment=HOBO_AGENT_SETTINGS_FILE="/etc/hobo-agent/settings.py"
|
||||
process_name=hobo-agent
|
||||
user=hobo-agent
|
||||
|
|
Loading…
Reference in New Issue