mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
shut up travis
This commit is contained in:
parent
288657107e
commit
c54e3020e9
@ -10,6 +10,7 @@ notifications:
|
|||||||
channels:
|
channels:
|
||||||
- irc.esper.net#crafatar
|
- irc.esper.net#crafatar
|
||||||
skip_join: true
|
skip_join: true
|
||||||
|
env: TRAVIS=true
|
||||||
services:
|
services:
|
||||||
- redis-server
|
- redis-server
|
||||||
cache:
|
cache:
|
||||||
|
|||||||
@ -68,7 +68,7 @@ function requestHandler(req, res) {
|
|||||||
logging.log(req.id, req.method, req.url.href);
|
logging.log(req.id, req.method, req.url.href);
|
||||||
|
|
||||||
toobusy.maxLag(200);
|
toobusy.maxLag(200);
|
||||||
if (toobusy()) {
|
if (toobusy() && !process.env.TRAVIS) {
|
||||||
res.writeHead(503, {
|
res.writeHead(503, {
|
||||||
"Content-Type": "text/plain"
|
"Content-Type": "text/plain"
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user