mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
up timeout to 6 mins
This commit is contained in:
parent
3e4cfc5ba9
commit
a698795558
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue