Browse Source

Make 'too busy' an error in logs

Jake 10 years ago
parent
commit
c2e2a98b82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -73,7 +73,7 @@ function requestHandler(req, res) {
       "Content-Type": "text/plain"
       "Content-Type": "text/plain"
     });
     });
     res.end("Server is over capacity :/");
     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;
     return;
   }
   }