mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
timeout option passed to clsi
This commit is contained in:
@@ -99,6 +99,7 @@ module.exports = ClsiManager =
|
||||
compile:
|
||||
options:
|
||||
compiler: project.compiler
|
||||
timeout: settingsOverride.timeout
|
||||
rootResourcePath: rootResourcePath
|
||||
resources: resources
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ describe "ClsiManager", ->
|
||||
|
||||
describe "with a valid project", ->
|
||||
beforeEach (done) ->
|
||||
@ClsiManager._buildRequest @project_id, null, (error, request) =>
|
||||
@ClsiManager._buildRequest @project_id, {timeout:100}, (error, request) =>
|
||||
@request = request
|
||||
done()
|
||||
|
||||
@@ -147,6 +147,7 @@ describe "ClsiManager", ->
|
||||
compile:
|
||||
options:
|
||||
compiler: @compiler
|
||||
timeout : 100
|
||||
rootResourcePath: "main.tex"
|
||||
resources: [{
|
||||
path: "main.tex"
|
||||
|
||||
Reference in New Issue
Block a user