From da782bdcfae7a07ed044344b5004135a424844f2 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 21 May 2021 13:32:23 +0200 Subject: [PATCH] Merge pull request #4077 from overleaf/jpa-pdf-caching-split-test-config [misc] add disabled split test config for pdf caching GitOrigin-RevId: 2a10c56b0ca62fa3f6ab2702ebde91cebe8f953e --- services/web/config/settings.defaults.js | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/services/web/config/settings.defaults.js b/services/web/config/settings.defaults.js index 543020ccdb..e96a6451f9 100644 --- a/services/web/config/settings.defaults.js +++ b/services/web/config/settings.defaults.js @@ -343,6 +343,34 @@ module.exports = { }, ], }, + { + id: 'enable_pdf_caching', + active: process.env.SPLIT_TEST_ENABLE_PDF_CACHING_ACTIVE === 'true', + variants: [ + { + id: 'enabled', + rolloutPercent: parseInt( + process.env.SPLIT_TEST_ENABLE_PDF_CACHING_ENABLE_ROLLOUT_PERCENT || + '0', + 10 + ), + }, + ], + }, + { + id: 'track_pdf_download', + active: process.env.SPLIT_TEST_TRACK_PDF_DOWNLOAD_ACTIVE === 'true', + variants: [ + { + id: 'enabled', + rolloutPercent: parseInt( + process.env.SPLIT_TEST_TRACK_PDF_DOWNLOAD_ENABLE_ROLLOUT_PERCENT || + '0', + 10 + ), + }, + ], + }, ], // cdn: