火山引擎SMS API|celery容灾优化|生成模型引擎积分列表API
This commit is contained in:
@@ -140,8 +140,9 @@ async def _run(task_id: str):
|
||||
|
||||
await log_task_event(task, event_type="POLL_SUCCESS", to_stage="result_ready")
|
||||
|
||||
from app.tasks.generation_download_tasks import download_generation_result_task
|
||||
download_generation_result_task.delay(task.id)
|
||||
from app.tasks.generation_download_tasks import enqueue_download_task
|
||||
|
||||
await enqueue_download_task(db, task, reason="poll_success_result_ready")
|
||||
return
|
||||
|
||||
if _is_failed(status):
|
||||
|
||||
Reference in New Issue
Block a user