diff --git a/src/core/fetcher/requestWithRetries.ts b/src/core/fetcher/requestWithRetries.ts index 9f8260e..8e60a47 100644 --- a/src/core/fetcher/requestWithRetries.ts +++ b/src/core/fetcher/requestWithRetries.ts @@ -9,7 +9,7 @@ export async function requestWithRetries( let response: Response = await requestFn(); for (let i = 0; i < maxRetries; ++i) { - if ([408, 429, 502, 503, 504].includes(response.status)) { + if ([408, 409, 429, 502, 503, 504].includes(response.status)) { const delay = Math.min(INITIAL_RETRY_DELAY * Math.pow(2, i), MAX_RETRY_DELAY); await new Promise((resolve) => setTimeout(resolve, delay)); response = await requestFn();