Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow exponential backoff to cap its delay at an specified maximum #1029

Merged
merged 1 commit into from
Apr 7, 2017
Merged

Allow exponential backoff to cap its delay at an specified maximum #1029

merged 1 commit into from
Apr 7, 2017

Conversation

Darkhogg
Copy link
Contributor

Allows a new argument in the backoff object, maxDelay, which caps the delay that a failed attempt will have when using exponential backoff.

Fixes #1025

@Darkhogg
Copy link
Contributor Author

Seems like the tests that are not passing weren't passing before my patch either, should I rebase this to a stable commit with passing tests, wait for you to fix the tests, or something else?

@nickysemenza
Copy link
Contributor

seems like there hasn't been a commit from a maintainer in 3 months, maybe this project is now dead?

@behrad
Copy link
Collaborator

behrad commented Apr 5, 2017

@Darkhogg Would ya rebase please?

@Darkhogg
Copy link
Contributor Author

Darkhogg commented Apr 5, 2017

Rebased to master.

@behrad behrad merged commit 00a2bc5 into Automattic:master Apr 7, 2017
@Darkhogg
Copy link
Contributor Author

Darkhogg commented Jun 1, 2017

Is there any chance of this PR (and other recent merged PRs) making to npm in the foreseeable future?

@behrad
Copy link
Collaborator

behrad commented Jun 2, 2017

Sure, I should release a patch version & publish it

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.

3 participants