up timeout to 6 mins

This commit is contained in:
Henry Oswald 2014-10-17 10:14:23 +01:00
parent 3e4cfc5ba9
commit a698795558

View file

@ -21,7 +21,7 @@ app.use Metrics.http.monitor(logger)
# Compile requests can take longer than the default two # Compile requests can take longer than the default two
# minutes (including file download time), so bump up the # minutes (including file download time), so bump up the
# timeout a bit. # timeout a bit.
TIMEOUT = threeMinutes = 3 * 60 * 1000 TIMEOUT = 6 * 60 * 1000
app.use (req, res, next) -> app.use (req, res, next) ->
req.setTimeout TIMEOUT req.setTimeout TIMEOUT
res.setTimeout TIMEOUT res.setTimeout TIMEOUT