bump wordcount timeouts, taken from 82b996b145

This commit is contained in:
Henry Oswald
2018-09-11 09:54:44 +01:00
parent d3bb863d0a
commit 5f9fb85613
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ module.exports = CompileManager =
command.unshift("/opt/synctex")
directory = getCompileDir(project_id, user_id)
timeout = 10 * 1000
timeout = 60 * 1000 # increased to allow for large projects
compileName = getCompileName(project_id, user_id)
CommandRunner.run compileName, command, directory, Settings.clsi.docker.image, timeout, {}, (error, output) ->
if error?

View File

@@ -319,7 +319,7 @@ describe "CompileManager", ->
@callback = sinon.stub()
@project_id
@timeout = 10 * 1000
@timeout = 60 * 1000
@file_name = "main.tex"
@Settings.path.compilesDir = "/local/compile/directory"
@image = "example.com/image"