up timeout to 6 mins

This commit is contained in:
Henry Oswald committed 2014-10-17 10:14:23 +01:00
1 parent a1ebd60b9f
commit 225a12fcd2
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ app.use Metrics.http.monitor(logger)
# Compile requests can take longer than the default two
# minutes (including file download time), so bump up the
# timeout a bit.
TIMEOUT = threeMinutes = 3 * 60 * 1000
TIMEOUT = 6 * 60 * 1000
app.use (req, res, next) ->
req.setTimeout TIMEOUT
res.setTimeout TIMEOUT