diff --git a/src/utils/matrix.ts b/src/utils/matrix.ts index 4e3ae3c32..02c728a42 100644 --- a/src/utils/matrix.ts +++ b/src/utils/matrix.ts @@ -353,7 +353,8 @@ export async function doNetworkOperationWithRetry( return await operation(); } catch (e) { currentRetryCount++; - const backoff = calculateRetryBackoff(e, currentRetryCount, true); + const backoff = calculateRetryBackoff(e, currentRetryCount, + false /** Do not retry CORS */); if (backoff < 0) { // Max number of retries reached, or error is not retryable. rethrow the error throw e;