fix: reduce HTTP API timeout from 30s to 10s

This commit is contained in:
YeonGyu-Kim 2026-02-16 16:52:23 +09:00
parent eb6067b6a6
commit 49ed32308b

View File

@ -81,7 +81,7 @@ export async function patchPart(
"Authorization": auth, "Authorization": auth,
}, },
body: JSON.stringify(body), body: JSON.stringify(body),
signal: AbortSignal.timeout(30_000), signal: AbortSignal.timeout(10_000),
}) })
if (!response.ok) { if (!response.ok) {
@ -123,7 +123,7 @@ export async function deletePart(
headers: { headers: {
"Authorization": auth, "Authorization": auth,
}, },
signal: AbortSignal.timeout(30_000), signal: AbortSignal.timeout(10_000),
}) })
if (!response.ok) { if (!response.ok) {