|
@@ -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
|