Skip to content

Commit

Permalink
fix routing
Browse files Browse the repository at this point in the history
  • Loading branch information
melvinsoft committed May 27, 2021
1 parent 5a9043d commit 34f43cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion figures/settings/lms_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,14 @@ def update_celerybeat_schedule(celerybeat_schedule_settings, figures_env_tokens)


def update_celery_routes(celery_routes_settings, figures_env_tokens):
celery_routes_settings['figures.tasks.run_figures_monthly_metrics'] = {
figures_routes = {'figures.tasks.run_figures_monthly_metrics': {
'queue': figures_env_tokens.get(
'FIGURES_MONTHLY_METRICS_QUEUE',
'edx.lms.core.high'
)
}
}
celery_routes_settings = (celery_routes_settings, figures_routes)


def plugin_settings(settings):
Expand Down

0 comments on commit 34f43cd

Please sign in to comment.