Преглед на файлове

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

Remove compile sampling for analysis

GitOrigin-RevId: 2457977d61756be52db506d7c84531b22a26abe0
John Lees-Miller преди 3 години
родител
ревизия
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
             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.
             // For a compile request to be sent to clsi we need limits.
             // If we get here without having the limits object populated, it is
             // If we get here without having the limits object populated, it is
             //  a reasonable assumption to make that nothing was compiled.
             //  a reasonable assumption to make that nothing was compiled.