mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-12 22:31:02 +00:00
Merge pull request #4262 from overleaf/jpa-bump-sync-overhead
[ClsiManager] bump sync overhead from 60s to 120s GitOrigin-RevId: ce968a054419a3ad8e6b0bd0ff5897aae3643f8c
This commit is contained in:
parent
e57be19ee3
commit
15978e1510
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue