From 320ca276146d3b7987facb148551fd2a3f7822fc Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Wed, 28 Jul 2021 10:34:11 -0500 Subject: [PATCH] Fix docs for rate limit default maxRetries (#640) --- src/RetryRestClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RetryRestClient.js b/src/RetryRestClient.js index 26d2a04e3..9146ecf9c 100644 --- a/src/RetryRestClient.js +++ b/src/RetryRestClient.js @@ -15,7 +15,7 @@ var DEFAULT_OPTIONS = { * @param {Object} restClient RestClient. * @param {Object} [options] Options for the RetryRestClient. * @param {Object} [options.enabled:true] Enabled or Disable Retry Policy functionality. - * @param {Number} [options.maxRetries=10] The maximum amount of times to retry the operation. Default is 10. + * @param {Number} [options.maxRetries=3] The maximum amount of times to retry the operation. Default is 3. * @param {*} [options.*] Any options that are available in https://github.com/tim-kos/node-retry#retryoperationoptions */ var RetryRestClient = function(restClient, options) {