From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:48:15 +0800 Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改 --- PAMapp/node_modules/axios-retry/README.md | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/axios-retry/README.md b/PAMapp/node_modules/axios-retry/README.md index 91ddb4a..1a1e07e 100644 --- a/PAMapp/node_modules/axios-retry/README.md +++ b/PAMapp/node_modules/axios-retry/README.md @@ -27,7 +27,7 @@ }); // Exponential back-off retry delay between requests -axiosRetry(axios, { retryDelay: axiosRetry.exponentialDelay}); +axiosRetry(axios, { retryDelay: axiosRetry.exponentialDelay }); // Custom retry delay axiosRetry(axios, { retryDelay: (retryCount) => { @@ -61,7 +61,7 @@ | Name | Type | Default | Description | | --- | --- | --- | --- | -| retries | `Number` | `3` | The number of times to retry before failing. | +| retries | `Number` | `3` | The number of times to retry before failing. 1 = One retry after first failure | | retryCondition | `Function` | `isNetworkOrIdempotentRequestError` | A callback to further control if a request should be retried. By default, it retries if it is a network error or a 5xx error on an idempotent request (GET, HEAD, OPTIONS, PUT or DELETE). | | shouldResetTimeout | `Boolean` | false | Defines if the timeout should be reset between retries | | retryDelay | `Function` | `function noDelay() { return 0; }` | A callback to further control the delay in milliseconds between retried requests. By default there is no delay between retries. Another option is exponentialDelay ([Exponential Backoff](https://developers.google.com/analytics/devguides/reporting/core/v3/errors#backoff)). The function is passed `retryCount` and `error`. | -- Gitblit v1.8.0