godaddy / node-cluster-service

Turn your single process code into a fault-resilient, multi-process service with built-in REST & CLI support. Restart or hot upgrade your web servers with zero downtime or impact to clients.

Home Page:https://www.npmjs.org/package/cluster-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Per worker options - restartOnX

asilvas opened this issue · comments

workerCount is the global default for the number of workers per start, and count is the override within the worker object.

Pull restartOnMemUsage & restartOnUpTime into the worker object as well so they can be overridden as needed.