Skip to content

Commit

Permalink
Add -E flag to worker subcommand for sending task events
Browse files Browse the repository at this point in the history
In order to support monitoring Celery task status we need to generate state transition
events that can get picked up by Leek
  • Loading branch information
blarghmatey committed Jun 14, 2024
1 parent 919edab commit 63b8d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bin/start-nginx bin/start-pgbouncer newrelic-admin run-program uwsgi uwsgi.ini
worker: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -Q publish,batch,default -B -l $OCW_STUDIO_LOG_LEVEL
extra_worker: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -Q publish,batch,default -l $OCW_STUDIO_LOG_LEVEL
worker: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -E -Q publish,batch,default -B -l $OCW_STUDIO_LOG_LEVEL
extra_worker: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -E -Q publish,batch,default -l $OCW_STUDIO_LOG_LEVEL

0 comments on commit 63b8d95

Please sign in to comment.