Merge pull request #28946 from overleaf/bg-set-health-check-flag-on-compile-status-requests
set health-check flag on compile status requests GitOrigin-RevId: 56decc98aecf7fa5e12f99efc39ef38915ceebe2
This commit is contained in:
@@ -880,6 +880,7 @@ function _finaliseRequest(projectId, options, project, docs, files) {
|
||||
pdfCachingMinChunkSize: options.pdfCachingMinChunkSize,
|
||||
flags,
|
||||
metricsMethod: options.compileGroup,
|
||||
metricsPath: options.metricsPath,
|
||||
},
|
||||
rootResourcePath,
|
||||
resources,
|
||||
|
||||
@@ -1159,7 +1159,7 @@ async function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||
CompileManager.compile(
|
||||
projectId,
|
||||
testUserId,
|
||||
{},
|
||||
{ metricsPath: 'health-check' },
|
||||
function (error, status, _outputFiles, clsiServerId) {
|
||||
if (handler) {
|
||||
clearTimeout(handler)
|
||||
|
||||
Reference in New Issue
Block a user