shut up travis

This commit is contained in:
jomo 2015-05-28 01:35:39 +02:00
parent 288657107e
commit c54e3020e9
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ notifications:
channels:
- irc.esper.net#crafatar
skip_join: true
env: TRAVIS=true
services:
- redis-server
cache:

View File

@ -68,7 +68,7 @@ function requestHandler(req, res) {
logging.log(req.id, req.method, req.url.href);
toobusy.maxLag(200);
if (toobusy()) {
if (toobusy() && !process.env.TRAVIS) {
res.writeHead(503, {
"Content-Type": "text/plain"
});