Просмотр исходного кода

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

[web] simplify segmentation of compile-result event

GitOrigin-RevId: 8cd42bb7712b9cc2385c3681b78d493b3fa138ce
ilkin-overleaf 4 лет назад
Родитель
Сommit
6235f3ea56
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/src/Features/Compile/CompileController.js

+ 2 - 2
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',
             }
           )
         }