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

Merge pull request #14143 from overleaf/jlm-unsampled-compiles

Remove compile sampling for analysis

GitOrigin-RevId: 2457977d61756be52db506d7c84531b22a26abe0
John Lees-Miller 3 лет назад
Родитель
Сommit
7c7a3d7a9c
1 измененных файлов с 1 добавлено и 8 удалено
  1. 1 8
      services/web/app/src/Features/Compile/CompileController.js

+ 1 - 8
services/web/app/src/Features/Compile/CompileController.js

@@ -164,14 +164,7 @@ module.exports = CompileController = {
             pdfDownloadDomain += outputUrlPrefix
           }
 
-          if (
-            limits &&
-            SplitTestHandler.getPercentile(
-              AnalyticsManager.getIdsFromSession(req.session).analyticsId,
-              'compile-result-backend',
-              'release'
-            ) === 1
-          ) {
+          if (limits) {
             // For a compile request to be sent to clsi we need limits.
             // If we get here without having the limits object populated, it is
             //  a reasonable assumption to make that nothing was compiled.