godaddy / godaddy/node-cluster-service
Kill unresponsive workers
Open
enhancement
Hacktoberfest
low priority
- Dominant language
- JavaScript
- Stars
- 168
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
A recent situation came up (related to very complex regular expressions) that resulted in the worker hanging. Scenarios like this cannot be auto-fixed by the worker/app itself, as the event loop is dead in the water. No other processing will take place when this happens.
This would be a great addition to cservice, periodic heartbeats. If no response after X seconds, force terminate (and restart) the worker process.
Contributor guide
Assessment
This issue has not been assessed yet.