From f410a7701032c899c55f9c54359b9e86504dce45 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 15 Dec 2021 16:44:09 +0100 Subject: [PATCH] lifecycle: add -Ofair to celery Signed-off-by: Jens Langhammer --- lifecycle/ak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lifecycle/ak b/lifecycle/ak index 7f99cd311..f350ba393 100755 --- a/lifecycle/ak +++ b/lifecycle/ak @@ -67,7 +67,7 @@ if [[ "$1" == "server" ]]; then /authentik-proxy elif [[ "$1" == "worker" ]]; then echo "worker" > $MODE_FILE - check_if_root "celery -A authentik.root.celery worker --autoscale 3,1 -E -B -s /tmp/celerybeat-schedule -Q authentik,authentik_scheduled,authentik_events" + check_if_root "celery -A authentik.root.celery worker -Ofair --autoscale 3,1 -E -B -s /tmp/celerybeat-schedule -Q authentik,authentik_scheduled,authentik_events" elif [[ "$1" == "flower" ]]; then echo "flower" > $MODE_FILE celery -A authentik.root.celery flower