godaddy / godaddy/node-cluster-service

Unrecoverable worker fault detection

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.