0001-hobo-agent-kill-celery-agent-after-100-tasks-39131.patch
debian/agent/hobo-agent.conf | ||
---|---|---|
1 | 1 |
[program:hobo-agent] |
2 | 2 |
; Concurrency set to 1 because there is no lock around calls to hobo_notify |
3 |
command=python2.7 /usr/bin/celery worker --hostname=agent.%%h --app=hobo.agent.worker --loglevel=INFO --concurrency=1 |
|
3 |
command=python2.7 /usr/bin/celery worker --hostname=agent.%%h --app=hobo.agent.worker --loglevel=INFO --concurrency=1 --maxtasksperchild=100
|
|
4 | 4 |
environment=HOBO_AGENT_SETTINGS_FILE="/etc/hobo-agent/settings.py" |
5 | 5 |
process_name=hobo-agent |
6 | 6 |
user=hobo-agent |
7 |
- |