From f0da5ce1163d32cd2eee8bf32a31e27fc4d15f33 Mon Sep 17 00:00:00 2001 From: Stephen Astels Date: Tue, 3 Dec 2024 21:47:06 +0000 Subject: [PATCH] add a new run_celery script for delivery receipts --- scripts/run_celery_delivery.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/run_celery_delivery.sh diff --git a/scripts/run_celery_delivery.sh b/scripts/run_celery_delivery.sh new file mode 100755 index 0000000000..d1ef747f77 --- /dev/null +++ b/scripts/run_celery_delivery.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Runs celery with only the delivery-receipts queue. + +echo "Start celery, concurrency: ${CELERY_CONCURRENCY-4}" + +celery -A run_celery.notify_celery worker --pidfile="/tmp/celery.pid" --loglevel=INFO --concurrency="${CELERY_CONCURRENCY-4}" -Q delivery-receipts