vercel / async-retry

Retrying made simple, easy and async
https://npmjs.com/async-retry
MIT License
1.85k stars 53 forks source link

Prevent propagating "bail" to upper retry block #59

Closed igorklopov closed 1 year ago

igorklopov commented 4 years ago

Currently in nested retry calls the upper one gets bail = true if the lower one calls bail(). Let's clear the flag so that the upper one decides it independently.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click on the icon next to each commit.

vercel[bot] commented 4 years ago

Deployment failed with the following error:

Your `package.json` file is missing a `build` property inside the `script` property.
vercel[bot] commented 4 years ago

Deployment failed with the following error:

Your `package.json` file is missing a `build` property inside the `script` property.
AndyBitz commented 1 year ago

Will close the PR since it hasn't been merged in 4 years.

I'm also not sure if that would be the desired default behaviour. Maybe it should be an option?