Revert "temp: do not retry MRS requests"

This reverts commit 8ba6467f21ba495fdfa07816d8d89bdad80a189e.
This commit is contained in:
Prospector 2025-07-07 17:07:27 -07:00
parent 8ba6467f21
commit e4e77dc0d2

View File

@ -134,7 +134,7 @@ export async function useServersFetch<T>(
? errorMessages[statusCode] ? errorMessages[statusCode]
: `HTTP Error: ${statusCode || "unknown"} ${statusText}`; : `HTTP Error: ${statusCode || "unknown"} ${statusText}`;
const isRetryable = false; const isRetryable = statusCode ? [408, 429, 500, 502, 504].includes(statusCode) : true;
if (!isRetryable || attempts >= maxAttempts) { if (!isRetryable || attempts >= maxAttempts) {
console.error("Fetch error:", error); console.error("Fetch error:", error);