2
0
Эх сурвалжийг харах

Make 'too busy' an error in logs

Jake 10 жил өмнө
parent
commit
c2e2a98b82
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -73,7 +73,7 @@ function requestHandler(req, res) {
       "Content-Type": "text/plain"
     });
     res.end("Server is over capacity :/");
-    logging.warn("Too busy:", req.id, 503, Date.now() - req.start + "ms", "(error)");
+    logging.error("Too busy:", req.id, 503, Date.now() - req.start + "ms", "(error)");
     return;
   }