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