mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
code cleanup
This commit is contained in:
@@ -10,8 +10,8 @@ if (cluster.isMaster) {
|
||||
cluster.fork();
|
||||
}
|
||||
|
||||
cluster.on("exit", function (worker, code, signal) {
|
||||
logging.error("Worker died. Rebooting a new one.");
|
||||
cluster.on("exit", function (worker) {
|
||||
logging.error("Worker #" + worker.id + " died. Rebooting a new one.");
|
||||
setTimeout(cluster.fork, 100);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user