mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 14:12:32 +00:00
bump wordcount timeouts, taken from 82b996b145196711e439d7d7045f53498c1afa1a
This commit is contained in:
parent
bec46504eb
commit
ce44fa3390
2 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ module.exports = CompileManager =
|
||||||
command.unshift("/opt/synctex")
|
command.unshift("/opt/synctex")
|
||||||
|
|
||||||
directory = getCompileDir(project_id, user_id)
|
directory = getCompileDir(project_id, user_id)
|
||||||
timeout = 10 * 1000
|
timeout = 60 * 1000 # increased to allow for large projects
|
||||||
compileName = getCompileName(project_id, user_id)
|
compileName = getCompileName(project_id, user_id)
|
||||||
CommandRunner.run compileName, command, directory, Settings.clsi.docker.image, timeout, {}, (error, output) ->
|
CommandRunner.run compileName, command, directory, Settings.clsi.docker.image, timeout, {}, (error, output) ->
|
||||||
if error?
|
if error?
|
||||||
|
|
|
@ -319,7 +319,7 @@ describe "CompileManager", ->
|
||||||
@callback = sinon.stub()
|
@callback = sinon.stub()
|
||||||
|
|
||||||
@project_id
|
@project_id
|
||||||
@timeout = 10 * 1000
|
@timeout = 60 * 1000
|
||||||
@file_name = "main.tex"
|
@file_name = "main.tex"
|
||||||
@Settings.path.compilesDir = "/local/compile/directory"
|
@Settings.path.compilesDir = "/local/compile/directory"
|
||||||
@image = "example.com/image"
|
@image = "example.com/image"
|
||||||
|
|
Loading…
Reference in a new issue