diff --git a/docs/sdk/api/sdkMiddlewareHttp.md b/docs/sdk/api/sdkMiddlewareHttp.md index acf73d5a3..6e62077b5 100644 --- a/docs/sdk/api/sdkMiddlewareHttp.md +++ b/docs/sdk/api/sdkMiddlewareHttp.md @@ -34,7 +34,7 @@ The HTTP middleware can run in either a browser or Node.js environment. For Node 5. `maskSensitiveHeaderData` _(Boolean)_: flag to mask sensitie data in the header. e.g. Authorization token 6. `enableRetry` _(Boolean)_: flag to enable retry on network errors and `500` response. (Default: false) 7. `retryCodes` - _(Array)_: array of `statusCodes` [`numbers`] and error code or messages [`string`] for retring requests when the statusCodes and/or error message/code matches an entry in the list. -8. `maxRetries` _(Number)_: number of times to retry the request before failing the request. (Default: 50) +8. `maxRetries` _(Number)_: number of times to retry the request before failing the request. (Default: 10) 9. `retryDelay` _(Number)_: amount of milliseconds to wait before retrying the next request. (Default: 200) 10. `backoff` _(Boolean)_: activates exponential backoff. Recommended to prevent spamming of the server. (Default: true) 11. `maxDelay` _(Number)_: The maximum duration (milliseconds) to wait before retrying, useful if the delay time grew exponentially more than reasonable