From d94dc76ccf64faed97cad3806a7859c063054393 Mon Sep 17 00:00:00 2001 From: hbyang Date: Wed, 14 Jan 2026 10:30:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=83=81=EC=83=9D=EC=84=B1=2010?= =?UTF-8?q?=EB=B6=84=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/api.ts b/src/utils/api.ts index c99cf95..ce53aa5 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -304,8 +304,8 @@ export async function uploadImages( } } -// 영상 생성 완료까지 폴링 (3분 타임아웃, 3초 간격) -const VIDEO_POLL_TIMEOUT = 3 * 60 * 1000; // 3분 +// 영상 생성 완료까지 폴링 (10분 타임아웃, 3초 간격) +const VIDEO_POLL_TIMEOUT = 10 * 60 * 1000; // 10분 const VIDEO_POLL_INTERVAL = 3000; // 3초 export async function waitForVideoComplete( @@ -316,7 +316,7 @@ export async function waitForVideoComplete( // 재귀적으로 폴링하는 방식으로 변경 (async/await 제대로 동작) const poll = async (): Promise => { - // 3분 타임아웃 체크 + // 10분 타임아웃 체크 if (Date.now() - startTime > VIDEO_POLL_TIMEOUT) { throw new Error('TIMEOUT'); }