diff --git a/server.js b/server.js index 4a76bc0e..76a19d8a 100644 --- a/server.js +++ b/server.js @@ -101,6 +101,7 @@ toobusy.maxLag(3500); }); toobusy.onLag(function(currentLag) { + process.exit(1); console.log("Event loop lag detected! Latency: " + currentLag + "ms"); });