Skip to content

Support options.retries Infintiy#77

Open
waspeer wants to merge 1 commit intotim-kos:masterfrom
waspeer:fix/retries-infinity
Open

Support options.retries Infintiy#77
waspeer wants to merge 1 commit intotim-kos:masterfrom
waspeer:fix/retries-infinity

Conversation

@waspeer
Copy link
Copy Markdown

@waspeer waspeer commented Jan 11, 2021

I bumped into a problem where when passing Infinity as an value for the retries option, it will result into a memory heap overload when it tries to create the array of timeouts. It seems like this option is supposed to be supported. This PR is my proposition on how this could be fixed.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 11, 2021

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

wraithgar added a commit to wraithgar/node-promise-retry that referenced this pull request Feb 25, 2026
This wasn't tested, and would have looped forever trying to populate this.#timeouts

Originally from: tim-kos/node-retry#77
wraithgar added a commit to wraithgar/node-promise-retry that referenced this pull request Feb 25, 2026
This wasn't tested, and would have looped forever trying to populate this.#timeouts

Originally from: tim-kos/node-retry#77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant