diff --git a/lib/http.module.ts b/lib/http.module.ts index 885df39..001f0d3 100644 --- a/lib/http.module.ts +++ b/lib/http.module.ts @@ -17,6 +17,7 @@ const createAxiosInstance = (config?: HttpModuleOptions) => { const logger = new Logger(HttpService.name); const axiosInstance = axios.create(config); axiosRetry(axiosInstance, { + retries: 10, // Default exponential backoff retryDelay: exponentialDelay, retryCondition: isNetworkOrIdempotentRequestOrGatewayOrRateLimitError,