reduced the httpAuth timeout to 1000ms
parent
a4eef2780e
commit
8a6704beef
|
@ -168,7 +168,7 @@ async.waterfall([
|
||||||
if (req.headers.authorization) {
|
if (req.headers.authorization) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
res.send('Authentication required', 401);
|
res.send('Authentication required', 401);
|
||||||
}, 5000);
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
res.send('Authentication required', 401);
|
res.send('Authentication required', 401);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue