mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
remove Timeout
Why was this here in the first place? The nodejs docs don't mention anything about this http://nodejs.org/api/cluster.html#cluster_event_exit
This commit is contained in:
parent
4923b8ed58
commit
363f460ee3
@ -10,7 +10,7 @@ if (cluster.isMaster) {
|
||||
|
||||
cluster.on('exit', function (worker, code, signal) {
|
||||
console.error('Worker died. Rebooting a new one.');
|
||||
setTimeout(cluster.fork, 100);
|
||||
cluster.fork();
|
||||
});
|
||||
|
||||
setInterval(cleaner.run, config.cleaning_interval * 1000);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user