mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #805 from overleaf/msm-compile-timeout-env
Expose COMPILE_TIMEOUT env variable and update nginx timeouts
This commit is contained in:
commit
937e4b31b7
2 changed files with 5 additions and 5 deletions
|
@ -11,8 +11,8 @@ server {
|
|||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_read_timeout 3m;
|
||||
proxy_send_timeout 3m;
|
||||
proxy_read_timeout 10m;
|
||||
proxy_send_timeout 10m;
|
||||
}
|
||||
|
||||
location /socket.io {
|
||||
|
@ -23,8 +23,8 @@ server {
|
|||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_read_timeout 3m;
|
||||
proxy_send_timeout 3m;
|
||||
proxy_read_timeout 10m;
|
||||
proxy_send_timeout 10m;
|
||||
}
|
||||
|
||||
location /stylesheets {
|
||||
|
|
|
@ -213,7 +213,7 @@ settings =
|
|||
collaborators: -1
|
||||
dropbox: true
|
||||
versioning: true
|
||||
compileTimeout: 180
|
||||
compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"] or 180, 10)
|
||||
compileGroup: "standard"
|
||||
trackChanges: true
|
||||
templates: true
|
||||
|
|
Loading…
Reference in a new issue