From 9eb9a7d3064376967a1ad90c910d631fd63b9424 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Thu, 5 Sep 2024 15:55:58 +0200 Subject: [PATCH] Start a new celery worker that just listens to the email-digest queue There's no jobs being published to this queue yet. --- conf/supervisord-dev.conf | 8 ++++++++ conf/supervisord.conf | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/conf/supervisord-dev.conf b/conf/supervisord-dev.conf index 0c599e3176..67f2c73057 100644 --- a/conf/supervisord-dev.conf +++ b/conf/supervisord-dev.conf @@ -31,6 +31,14 @@ stderr_events_enabled=true stopsignal=KILL stopasgroup=true +[program:worker-email-digests] +command=newrelic-admin run-program celery -A lms.tasks.celery:app worker --loglevel=INFO -Q email_digests -n celery-email_digests-@%%h +stdout_events_enabled=true +stderr_events_enabled=true +stopsignal=KILL +stopasgroup=true + + [program:assets] command=node_modules/.bin/gulp watch stdout_events_enabled=true diff --git a/conf/supervisord.conf b/conf/supervisord.conf index cd054dca45..1a66cd446a 100644 --- a/conf/supervisord.conf +++ b/conf/supervisord.conf @@ -18,6 +18,13 @@ stderr_events_enabled=true stdout_logfile=NONE stderr_logfile=NONE +[program:worker-email-digests] +command=newrelic-admin run-program celery -A lms.tasks.celery:app worker --loglevel INFO -Q email_digests -n celery-email_digests-@%%h +stdout_events_enabled=true +stderr_events_enabled=true +stdout_logfile=NONE +stderr_logfile=NONE + [eventlistener:logger] command=bin/logger buffer_size=1024