mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2917 from overleaf/bg-send-compile-group-parameter
send compileGroup parameter in body of clsi request GitOrigin-RevId: 05e9b24ea15751464104e5b0f6aef17c66a448d2
This commit is contained in:
parent
366a925903
commit
2a6f18b6a0
2 changed files with 12 additions and 5 deletions
|
@ -827,7 +827,8 @@ const ClsiManager = {
|
|||
draft: !!options.draft,
|
||||
check: options.check,
|
||||
syncType: options.syncType,
|
||||
syncState: options.syncState
|
||||
syncState: options.syncState,
|
||||
compileGroup: options.compileGroup
|
||||
},
|
||||
rootResourcePath,
|
||||
resources
|
||||
|
|
|
@ -489,7 +489,7 @@ describe('ClsiManager', function() {
|
|||
beforeEach(function(done) {
|
||||
this.ClsiManager._buildRequest(
|
||||
this.project_id,
|
||||
{ timeout: 100 },
|
||||
{ timeout: 100, compileGroup: 'standard' },
|
||||
(err, request) => {
|
||||
if (err != null) {
|
||||
return done(err)
|
||||
|
@ -539,7 +539,8 @@ describe('ClsiManager', function() {
|
|||
draft: false,
|
||||
check: undefined,
|
||||
syncType: undefined, // "full"
|
||||
syncState: undefined
|
||||
syncState: undefined,
|
||||
compileGroup: 'standard'
|
||||
}, // "01234567890abcdef"
|
||||
rootResourcePath: 'main.tex',
|
||||
resources: [
|
||||
|
@ -583,7 +584,11 @@ describe('ClsiManager', function() {
|
|||
.callsArgWith(1, null, { 'mock-doc-id-1': 'main.tex' })
|
||||
this.ClsiManager._buildRequest(
|
||||
this.project_id,
|
||||
{ timeout: 100, incrementalCompilesEnabled: true },
|
||||
{
|
||||
timeout: 100,
|
||||
incrementalCompilesEnabled: true,
|
||||
compileGroup: 'priority'
|
||||
},
|
||||
(err, request) => {
|
||||
if (err != null) {
|
||||
return done(err)
|
||||
|
@ -631,7 +636,8 @@ describe('ClsiManager', function() {
|
|||
draft: false,
|
||||
check: undefined,
|
||||
syncType: 'incremental',
|
||||
syncState: '01234567890abcdef'
|
||||
syncState: '01234567890abcdef',
|
||||
compileGroup: 'priority'
|
||||
},
|
||||
rootResourcePath: 'main.tex',
|
||||
resources: [
|
||||
|
|
Loading…
Reference in a new issue