From 086da740a2aeaa6ec0ff01ae8f79bc72de176da9 Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Thu, 23 Feb 2023 16:35:09 +0200 Subject: [PATCH] Changed `maxPercentageFromMilestone` to 10% --- ghost/core/core/shared/config/defaults.json | 2 +- ghost/core/test/e2e-server/services/milestones.test.js | 2 +- ghost/milestones/test/MilestonesService.test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/core/core/shared/config/defaults.json b/ghost/core/core/shared/config/defaults.json index bef19ec73b..a0c9b42c8b 100644 --- a/ghost/core/core/shared/config/defaults.json +++ b/ghost/core/core/shared/config/defaults.json @@ -216,6 +216,6 @@ "members": [100, 1000, 10000, 25000, 50000, 100000, 250000, 500000, 1000000], "minDaysSinceImported": 7, "minDaysSinceLastEmail": 14, - "maxPercentageFromMilestone": 0.35 + "maxPercentageFromMilestone": 0.1 } } diff --git a/ghost/core/test/e2e-server/services/milestones.test.js b/ghost/core/test/e2e-server/services/milestones.test.js index 8caca01343..2325c43ba1 100644 --- a/ghost/core/test/e2e-server/services/milestones.test.js +++ b/ghost/core/test/e2e-server/services/milestones.test.js @@ -148,7 +148,7 @@ describe('Milestones Service', function () { members: [10, 20, 30], minDaysSinceImported: 7, minDaysSinceLastEmail: 14, - maxPercentageFromMilestone: 0.35 + maxPercentageFromMilestone: 0.1 }; before(async function () { diff --git a/ghost/milestones/test/MilestonesService.test.js b/ghost/milestones/test/MilestonesService.test.js index 4a84c07d3d..2b509a7be7 100644 --- a/ghost/milestones/test/MilestonesService.test.js +++ b/ghost/milestones/test/MilestonesService.test.js @@ -41,7 +41,7 @@ describe('MilestonesService', function () { members: [100, 1000, 10000, 50000, 100000, 250000, 500000, 1000000], minDaysSinceImported: 7, minDaysSinceLastEmail: 14, - maxPercentageFromMilestone: 0.35 + maxPercentageFromMilestone: 0.1 }; describe('ARR Milestones', function () {