diff options
author | Chris Meyers <chris.meyers.fsu@gmail.com> | 2017-10-10 18:34:49 +0200 |
---|---|---|
committer | Matthew Jones <matburt@redhat.com> | 2018-02-01 22:47:33 +0100 |
commit | 0e97dc4b84a6e677b1b44be17c578fce69a8c1a7 (patch) | |
tree | f71a9659aeed7910c090eeae8122b24220fd34de /tools/docker-compose/supervisor.conf | |
parent | Add support for directly managing instance groups (diff) | |
download | awx-0e97dc4b84a6e677b1b44be17c578fce69a8c1a7.tar.xz awx-0e97dc4b84a6e677b1b44be17c578fce69a8c1a7.zip |
Beat and celery clustering fixes
* use embedded beat rather than standalone
* dynamically set celeryd hostname at runtime
* add embeded beat flag to celery startup
* Embedded beat mode routes will piggyback off of celery worker setup
signal
Diffstat (limited to '')
-rw-r--r-- | tools/docker-compose/supervisor.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker-compose/supervisor.conf b/tools/docker-compose/supervisor.conf index b0700e1442..cedb784324 100644 --- a/tools/docker-compose/supervisor.conf +++ b/tools/docker-compose/supervisor.conf @@ -4,7 +4,7 @@ minfds = 4096 nodaemon=true [program:celeryd] -command = celery worker -A awx -l DEBUG -B -Ofair --autoscale=100,4 --schedule=/celerybeat-schedule -Q tower_broadcast_all -n celery@%(ENV_HOSTNAME)s +command = celery worker -A awx -l DEBUG -B --autoscale=20,3 -Ofair -s /var/lib/awx/beat.db -Q tower_broadcast_all -n celery@%(ENV_HOSTNAME)s autostart = true autorestart = true redirect_stderr=true |