reduced the httpAuth timeout to 1000ms

pull/128/merge
Peter 'Pita' Martischka 2011-12-04 17:27:36 +01:00
parent a4eef2780e
commit 8a6704beef
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }