From 8a6704beefd3e8f8c0008d49375a00a2485cdef4 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Sun, 4 Dec 2011 17:27:36 +0100 Subject: [PATCH] reduced the httpAuth timeout to 1000ms --- node/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/server.js b/node/server.js index 86c102234..ae75149c9 100644 --- a/node/server.js +++ b/node/server.js @@ -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); }