godaddy / godaddy/node-cluster-service
Unrecoverable worker fault detection
Open
enhancement
Hacktoberfest
low priority
under review
- Dominant language
- JavaScript
- Stars
- 168
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Currently when a worker dies unexpectedly, it will be restarted after **restartDelayMs**. However, if there is something that cannot be recovered from, it will never give up retrying to restart the failed worker.
Add support for **restartsPerThreshold** and **restartThreshold**, which keeps track on a worker by worker basis (since there can be any number of unique worker pools) the number of restarts within a period of time to determine if the problem is unrecoverable.
Contributor guide
Assessment
This issue has not been assessed yet.