Hi,
I'm not raising this as a pull request because I'm unsure you would be ok with the changes I made:
- Added quicktest tests
- Added
recoveringWatchdog function that makes a distintion between an aplication that fails very quickly each time (and thus the retry count applies), or an application that only fails ocasionally. In this last case, I want to retry it but reset the retry counter.
Number 2), unfortunately adds a lot of dependencies (you might not be confortable with).
https://github.com/jcristovao/retry/commits/master
If there is interest, I might split this into (mergeable) tests applicable to the retry lib (as it is), and the recoveringWatchdog I would split into a different lib.
Please let me know what do you prefer,
Cheers
Hi,
I'm not raising this as a pull request because I'm unsure you would be ok with the changes I made:
recoveringWatchdogfunction that makes a distintion between an aplication that fails very quickly each time (and thus the retry count applies), or an application that only fails ocasionally. In this last case, I want to retry it but reset the retry counter.Number 2), unfortunately adds a lot of dependencies (you might not be confortable with).
https://github.com/jcristovao/retry/commits/master
If there is interest, I might split this into (mergeable) tests applicable to the retry lib (as it is), and the recoveringWatchdog I would split into a different lib.
Please let me know what do you prefer,
Cheers