From 86dcbfefa44b242d470265acf612a87311a94d37 Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Wed, 5 Jun 2024 19:07:08 -0400 Subject: [PATCH] chore: fix typo --- src/retry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/retry.js b/src/retry.js index 3d3ab1a..ee5037a 100644 --- a/src/retry.js +++ b/src/retry.js @@ -60,7 +60,7 @@ class RetryManager { } createRetry({ maxAttempts, delayFactor, fuzzFactor, initialDelay } = {}) { - return new RetryManager({ + return new Retry({ maxAttempts: maxAttempts || this.maxAttempts_, delayFactor: delayFactor || this.delayFactor_, fuzzFactor: fuzzFactor || this.fuzzFactor_,