Reduce project cache retention from 1d to 1h
This commit is contained in:
parent
8d3bfd64ab
commit
15d6e14c1d
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ RUN sed -iE "s/email@example.com/${login_text:-user}/g" /var/www/sharelatex/web/
|
|||
RUN sed -iE "s%-synctex=1\",%-synctex=1\", \"-shell-escape\",%g" /var/www/sharelatex/clsi/app/js/LatexRunner.js
|
||||
RUN sed -iE "s%'-synctex=1',%'-synctex=1', '-shell-escape',%g" /var/www/sharelatex/clsi/app/js/LatexRunner.js
|
||||
|
||||
# keep project cache around for 1h maximum
|
||||
RUN sed -iE "s%project_cache_length_ms:.*%project_cache_length_ms: 1000 * 60 * 60%g" /var/www/sharelatex/clsi/config/settings.defaults.js
|
||||
|
||||
# Too much changes to do inline (>10 Lines).
|
||||
COPY --from=src /src/ldap-overleaf-sl/sharelatex/settings.pug /var/www/sharelatex/web/app/views/user/
|
||||
COPY --from=src /src/ldap-overleaf-sl/sharelatex/navbar.pug /var/www/sharelatex/web/app/views/layout/
|
||||
|
|
Loading…
Reference in a new issue