Skip to content

Commit

Permalink
Increase compile timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-WWU-IT committed Feb 14, 2024
1 parent ba32446 commit 3007c17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@
```
to create regular users via command-line
- Add `proxy_hide_header X-Frame-Options;` to `server-ce/nginx/sharelatex.conf` for locations `/` and `/socket.io` to allow iframe embedding
- Add the following setting to `server-ce/config/settings.js`:
```
cookieSessionLength: false,
```
- Make the following modifcations in `server-ce/config/settings.js`:
- Add the following setting:
```
cookieSessionLength: false,
```
- Modify the compile timeout `defaultFeatures.compileTimeout` as needed
- Redirect `GET` requests to the reverse proxy service through `server-ce/nginx/sharelatex.conf` by adding the following to the `/` location:
```
if ($request_method = GET) {
Expand Down
2 changes: 1 addition & 1 deletion server-ce/config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const settings = {
collaborators: -1,
dropbox: true,
versioning: true,
compileTimeout: parseIntOrFail(process.env.COMPILE_TIMEOUT || 180),
compileTimeout: 900,
compileGroup: 'standard',
trackChanges: true,
templates: true,
Expand Down

0 comments on commit 3007c17

Please sign in to comment.