From 3a9f173e967423d809c4ded985fcdace7888df76 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Sat, 16 Mar 2024 13:58:37 +0100 Subject: [PATCH] fix: conflict --- lib/handler/retry-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handler/retry-handler.js b/lib/handler/retry-handler.js index 76cceb48d96..a78ec3344fc 100644 --- a/lib/handler/retry-handler.js +++ b/lib/handler/retry-handler.js @@ -158,7 +158,7 @@ class RetryHandler { const retryTimeout = retryAfterHeader > 0 ? Math.min(retryAfterHeader, maxTimeout) - : Math.min(timeout * timeoutFactor ** counter, maxTimeout) + : Math.min(minTimeout * timeoutFactor ** counter, maxTimeout) setTimeout(() => cb(null), retryTimeout) }