chore(ai-avatar): generateSmartCover 接口超时 60s → 120s (#1861)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 2s
CI/CD Pipeline / Check push changed paths (push) Successful in 15s
CI/CD Pipeline / Build Staging API Image (push) Successful in 17s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 16s
CI/CD Pipeline / Integration Tests (push) Successful in 1m16s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 1m27s
CI/CD Pipeline / Validate - Style (push) Successful in 1m52s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m2s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m7s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m36s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1m24s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m27s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m9s
CI/CD Pipeline / Unit Tests (push) Successful in 6m34s
CI/CD Pipeline / Validate - Security (push) Successful in 10m41s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 119h14m38s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 119h25m23s
CI/CD Pipeline / Frontend Lint (push) Failing after 119h25m24s
CI/CD Pipeline / Build Production Web Image (push) Failing after 119h14m27s
CI/CD Pipeline / Build Production API Image (push) Failing after 119h14m28s
CI/CD Pipeline / CI Gate (push) Failing after 119h14m27s
CI/CD Pipeline / PR Build API Image (push) Failing after 119h25m8s
CI/CD Pipeline / Canary Release to Production (push) Failing after 119h14m23s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 119h14m27s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 119h23m25s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 119h23m25s
CI/CD Pipeline / PR Build Web Image (push) Failing after 119h25m8s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 119h25m14s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 119h58m34s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 2s
CI/CD Pipeline / Check push changed paths (push) Successful in 15s
CI/CD Pipeline / Build Staging API Image (push) Successful in 17s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 16s
CI/CD Pipeline / Integration Tests (push) Successful in 1m16s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 1m27s
CI/CD Pipeline / Validate - Style (push) Successful in 1m52s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m2s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m7s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m36s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1m24s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m27s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m9s
CI/CD Pipeline / Unit Tests (push) Successful in 6m34s
CI/CD Pipeline / Validate - Security (push) Successful in 10m41s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 119h14m38s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 119h25m23s
CI/CD Pipeline / Frontend Lint (push) Failing after 119h25m24s
CI/CD Pipeline / Build Production Web Image (push) Failing after 119h14m27s
CI/CD Pipeline / Build Production API Image (push) Failing after 119h14m28s
CI/CD Pipeline / CI Gate (push) Failing after 119h14m27s
CI/CD Pipeline / PR Build API Image (push) Failing after 119h25m8s
CI/CD Pipeline / Canary Release to Production (push) Failing after 119h14m23s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 119h14m27s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 119h23m25s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 119h23m25s
CI/CD Pipeline / PR Build Web Image (push) Failing after 119h25m8s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 119h25m14s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 119h58m34s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
This commit was merged in pull request #1861.
This commit is contained in:
@@ -66,7 +66,8 @@ export const generateSmartCover = async (
|
||||
const response = await apiClient.post<{ cover_url: string; status: string; message: string }>(
|
||||
"/ai-avatar/render/smart-cover",
|
||||
{ video_url, max_frames },
|
||||
{ timeout: 60000 },
|
||||
// smart-cover 链路:下载视频+抽帧+drawtext 加标题+上传 OSS,需要较长时间,120s 超时
|
||||
{ timeout: 120000 },
|
||||
)
|
||||
return response.data
|
||||
}
|
||||
@@ -85,8 +86,7 @@ export const submitRender = async (data: {
|
||||
}
|
||||
|
||||
export const getRenderJob = async (jobId: string): Promise<RenderJob> => {
|
||||
// 渲染任务走多步 ffmpeg 合成,可能耗时较久,轮询超时设 60s
|
||||
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`, { timeout: 60000 })
|
||||
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`)
|
||||
return response.data
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user