diff --git a/Build/lib/fetch-retry.ts b/Build/lib/fetch-retry.ts index fa7219ca..bf549810 100644 --- a/Build/lib/fetch-retry.ts +++ b/Build/lib/fetch-retry.ts @@ -28,7 +28,7 @@ setGlobalDispatcher(agent.compose( interceptors.retry({ maxRetries: 5, minTimeout: 10000, - errorCodes: ['UND_ERR_HEADERS_TIMEOUT', 'ECONNRESET', 'ECONNREFUSED', 'ENOTFOUND', 'ENETDOWN', 'ENETUNREACH', 'EHOSTDOWN', 'EHOSTUNREACH', 'EPIPE'] + errorCodes: ['UND_ERR_HEADERS_TIMEOUT', 'ECONNRESET', 'ECONNREFUSED', 'ENOTFOUND', 'ENETDOWN', 'ENETUNREACH', 'EHOSTDOWN', 'EHOSTUNREACH', 'EPIPE', 'ETIMEDOUT'] }), interceptors.redirect({ maxRedirections: 5