timeout option passed to clsi

This commit is contained in:
Henry Oswald 2014-10-16 18:43:48 +01:00
parent 7293ccf06d
commit e7906f7018
2 changed files with 3 additions and 1 deletions

View file

@ -99,6 +99,7 @@ module.exports = ClsiManager =
compile:
options:
compiler: project.compiler
timeout: settingsOverride.timeout
rootResourcePath: rootResourcePath
resources: resources
}

View file

@ -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"