Skip to content

Commit

Permalink
Merge pull request #13904 from mvdbeek/set_default_celery_app
Browse files Browse the repository at this point in the history
[22.01] Set default celery app for all threads
  • Loading branch information
davelopez authored May 11, 2022
2 parents be45760 + 8f903c9 commit 3dbae41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/celery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def get_history_audit_table_prune_interval():

broker = get_broker()
celery_app = Celery('galaxy', broker=broker, include=['galaxy.celery.tasks'])
celery_app.set_default()
prune_interval = get_history_audit_table_prune_interval()
if prune_interval > 0:
celery_app.conf.beat_schedule = {
Expand Down

0 comments on commit 3dbae41

Please sign in to comment.