From 365188595472123bf9f14f7c4699f878088ac924 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 16 Nov 2023 12:35:54 -0500 Subject: [PATCH] Add --events to workers --- api-daemon/pvcworkerd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-daemon/pvcworkerd.sh b/api-daemon/pvcworkerd.sh index 4cccbb50..8b33606b 100755 --- a/api-daemon/pvcworkerd.sh +++ b/api-daemon/pvcworkerd.sh @@ -25,10 +25,10 @@ CELERY_BIN="$( which celery )" # app arguments work in a non-backwards-compatible way with Celery 5. case "$( cat /etc/debian_version )" in 10.*) - CELERY_ARGS="worker --app pvcapid.flaskapi.celery --concurrency 3 --hostname pvcworkerd@$(hostname -s) --queues $(hostname -s) --loglevel INFO" + CELERY_ARGS="worker --app pvcapid.flaskapi.celery --events --concurrency 3 --hostname pvcworkerd@$(hostname -s) --queues $(hostname -s) --loglevel INFO" ;; *) - CELERY_ARGS="--app pvcapid.flaskapi.celery worker --concurrency 3 --hostname pvcworkerd@$(hostname -s) --queues $(hostname -s) --loglevel INFO" + CELERY_ARGS="--app pvcapid.flaskapi.celery worker --events --concurrency 3 --hostname pvcworkerd@$(hostname -s) --queues $(hostname -s) --loglevel INFO" ;; esac