node-retry icon indicating copy to clipboard operation
node-retry copied to clipboard

Abstraction for exponential and custom retry strategies for failed operations.

Results 20 node-retry issues
Sort by recently updated
recently updated
newest added

not sure what to do about the tests (ending in .js and doing require()) as well as package.json engines talking about node >= version 4

Using a proper scope to prevent errors with external bundlers #### Why I tried using [node-retry](https://github.com/tim-kos/node-retry) with [Parcel v2](https://parceljs.org/) it had a hard time finding the right module to map....

Hi, I wrote an higher-level function util `withRetry` which makes the usage of the library very easy and also supports promises. this is what I wrote: ```javascript const retry =...

Does this look like a reasonably safe use of retry?. I am trying to implement a 2-3 attempt retry when something goes awry in my redis subscriber. If it fails...

You can found the details at [#58](https://github.com/sindresorhus/p-retry/issues/58) too. When we give `retries` Infinity value, it will produce this error ```sh # # Fatal error in , line 0 # Fatal...

Hi, I see that, although being a really useful module, keywords section is not present in the package.json. Was this intentional? Having keywords like retry can be really helpful for...

This is doc about typescript 4.4 breaking change: https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#more-compliant-indirect-calls-for-imported-functions for this code ``` import { timeouts} from 'retry' console.log(timeouts({ retries: 5, })) ``` typescript will compile it to ``` "use...

Isn't the current attempt missing when executing this callback right here? https://github.com/tim-kos/node-retry/blob/b8e26ea7adda3f11c19086a762d15e95521f3e4e/lib/retry_operation.js#L110 --- I also found this line which confuses me. The readme says nothing about an option called `forever`...

I am working on improved logging in [pnpm](https://github.com/pnpm/pnpm/issues/1240). When a request fails, I want to print something like: ``` WARN GET error (500). Will retry in 16 seconds. 2 retries...