Skip to content

Commit

Permalink
Start a new celery worker that just listens to the email-digest queue
Browse files Browse the repository at this point in the history
There's no jobs being published to this queue yet.
  • Loading branch information
marcospri committed Oct 24, 2024
1 parent cd07975 commit 9eb9a7d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/supervisord-dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions conf/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9eb9a7d

Please sign in to comment.