火山引擎SMS API|celery容灾优化|生成模型引擎积分列表API

This commit is contained in:
2026-06-04 16:28:59 +08:00
parent 450e509b1a
commit 8d43d5871c
25 changed files with 1936 additions and 302 deletions
+6 -2
View File
@@ -5,7 +5,11 @@ custom named tasks are registered when workers start.
"""
try:
from app.tasks import generation_create_tasks, generation_poll_tasks, generation_download_tasks # noqa: F401
from app.tasks import ( # noqa: F401
generation_create_tasks,
generation_poll_tasks,
generation_download_tasks,
generation_recovery_tasks,
)
except Exception:
# Keep application importable even when optional Celery dependencies/config are absent.
pass