mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
shut up travis
This commit is contained in:
parent
288657107e
commit
c54e3020e9
@ -10,6 +10,7 @@ notifications:
|
||||
channels:
|
||||
- irc.esper.net#crafatar
|
||||
skip_join: true
|
||||
env: TRAVIS=true
|
||||
services:
|
||||
- redis-server
|
||||
cache:
|
||||
|
||||
@ -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"
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user