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

Remove compile sampling for analysis

GitOrigin-RevId: 2457977d61756be52db506d7c84531b22a26abe0
This commit is contained in:
John Lees-Miller 2023-08-02 21:07:13 +01:00 committed by Copybot
parent a797fb2be7
commit 7c7a3d7a9c

View file

@ -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.