From 6235f3ea56bb700413b8be6e70f8e683e88c8bc4 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Mon, 20 Jun 2022 12:23:44 +0300 Subject: [PATCH] Merge pull request #8482 from overleaf/jpa-compile-result-segmentation [web] simplify segmentation of compile-result event GitOrigin-RevId: 8cd42bb7712b9cc2385c3681b78d493b3fa138ce --- services/web/app/src/Features/Compile/CompileController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/src/Features/Compile/CompileController.js b/services/web/app/src/Features/Compile/CompileController.js index 7b8e5f9b6e..d73aea3068 100644 --- a/services/web/app/src/Features/Compile/CompileController.js +++ b/services/web/app/src/Features/Compile/CompileController.js @@ -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', } ) }