We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf87fb commit 8ff0bacCopy full SHA for 8ff0bac
1 file changed
src/celery_app.py
@@ -25,7 +25,10 @@ def queue_warmup_task(**kwargs) -> None:
25
"""Queue classifier warm-up after the worker is fully ready."""
26
del kwargs
27
28
- if app_config["CELERY_TASK_ALWAYS_EAGER"] or not app_config["CELERY_WARM_ON_STARTUP"]:
+ if (
29
+ app_config["CELERY_TASK_ALWAYS_EAGER"]
30
+ or not app_config["CELERY_WARM_ON_STARTUP"]
31
+ ):
32
return
33
34
celery_app.send_task("src.tasks.warm_intent_classifier")
0 commit comments