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:
Brian Gough
2025-10-10 08:06:28 +00:00
committed by Copybot
parent 0ecfc246a2
commit 7b6565c98f
2 changed files with 2 additions and 1 deletions
@@ -880,6 +880,7 @@ function _finaliseRequest(projectId, options, project, docs, files) {
pdfCachingMinChunkSize: options.pdfCachingMinChunkSize,
flags,
metricsMethod: options.compileGroup,
metricsPath: options.metricsPath,
},
rootResourcePath,
resources,
+1 -1
View File
@@ -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)