From 9b45e0d5db9c268dd86b54c89df5047ca3d7c8c1 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Mon, 2 Dec 2024 15:13:59 +0800 Subject: [PATCH] Update readme.md --- readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.md b/readme.md index a12566d..4a3fd0a 100644 --- a/readme.md +++ b/readme.md @@ -50,6 +50,14 @@ Type: `object` Options are passed to the [`retry`](https://github.com/tim-kos/node-retry#retryoperationoptions) module. +##### retries + +Type: `number` + +Default: `10` + +How many times to retry. + ##### onFailedAttempt(error) Type: `Function`