Merge pull request #8482 from overleaf/jpa-compile-result-segmentation

[web] simplify segmentation of compile-result event

GitOrigin-RevId: 8cd42bb7712b9cc2385c3681b78d493b3fa138ce
This commit is contained in:
ilkin-overleaf 2022-06-20 12:23:44 +03:00 committed by Copybot
parent c4c7cda19a
commit 6235f3ea56

View file

@ -97,8 +97,8 @@ module.exports = CompileController = {
ownerAnalyticsId: limits.ownerAnalyticsId,
status,
compileTime: timings?.compileE2E,
compileTimeout: limits.timeout * 1000,
clsiServerId,
timeout: limits.timeout === 60 ? 'short' : 'long',
server: clsiServerId?.includes('-c2d-') ? 'faster' : 'normal',
}
)
}