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

implement stopping when max number of restarts exceeds allowed number… #380

Merged
merged 1 commit into from Jan 16, 2018

Conversation

tomliversidge
Copy link
Contributor

… in a period of time

Uses the _withinTimeSpan value properly to fix #379
Reversed the control flow in the Restart section as it kept confusing me
Adds tests

NOTE: ExponentialBackoffStrategy looks wrong to me, we are lacking tests around this as the current two still pass, could do with some input into what this strategies behaviour is supposed to be.

@tomliversidge
Copy link
Contributor Author

I've fixed exponential backoff too.- should now reset if no errors have occurred within the window.

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.

OneForOneStrategy don't reset failurecount correctly
2 participants