From a4859a929cafd98ca95d6cb27f226f7901c447c1 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Mon, 12 Mar 2018 15:36:15 -0400 Subject: [PATCH] autoscale celery up to 50 workers --- installer/image_build/files/supervisor_task.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/image_build/files/supervisor_task.conf b/installer/image_build/files/supervisor_task.conf index 12a58a3e81..31f4cbfb1f 100644 --- a/installer/image_build/files/supervisor_task.conf +++ b/installer/image_build/files/supervisor_task.conf @@ -3,7 +3,7 @@ nodaemon = True umask = 022 [program:celery] -command = /var/lib/awx/venv/awx/bin/celery worker -A awx -B -l debug --autoscale=4 -Ofair -s /var/lib/awx/beat.db -n celery@%(ENV_HOSTNAME)s +command = /var/lib/awx/venv/awx/bin/celery worker -A awx -B -l debug --autoscale=50,4 -Ofair -s /var/lib/awx/beat.db -n celery@%(ENV_HOSTNAME)s directory = /var/lib/awx environment = LANGUAGE="en_US.UTF-8",LANG="en_US.UTF-8",LC_ALL="en_US.UTF-8",LC_CTYPE="en_US.UTF-8" #user = {{ aw_user }}