diff --git a/services/web/app/src/Features/Compile/ClsiManager.js b/services/web/app/src/Features/Compile/ClsiManager.js index b90efaac55..de105cdb36 100644 --- a/services/web/app/src/Features/Compile/ClsiManager.js +++ b/services/web/app/src/Features/Compile/ClsiManager.js @@ -25,7 +25,7 @@ const Errors = require('../Errors/Errors') const VALID_COMPILERS = ['pdflatex', 'latex', 'xelatex', 'lualatex'] // see clsi: RequestParser.MAX_TIMEOUT const DEFAULT_TIMEOUT = 600 -const OVERHEAD_SYNC_AND_OUTPUT = 60 * 1000 +const OVERHEAD_SYNC_AND_OUTPUT = 120 * 1000 const ClsiManager = { sendRequest(projectId, userId, options, callback) { diff --git a/services/web/test/unit/src/Compile/ClsiManagerTests.js b/services/web/test/unit/src/Compile/ClsiManagerTests.js index 2e232e8a3d..dcd5edb195 100644 --- a/services/web/test/unit/src/Compile/ClsiManagerTests.js +++ b/services/web/test/unit/src/Compile/ClsiManagerTests.js @@ -941,7 +941,7 @@ describe('ClsiManager', function () { method: 'POST', url, json: this.req, - timeout: 42 * 1000 + 60 * 1000, + timeout: 42 * 1000 + 120 * 1000, }) .should.equal(true) })