From 32df8c5260834f69028bc64be8adcd6322afb3bf Mon Sep 17 00:00:00 2001 From: Saif Al Falah Date: Sun, 16 Aug 2020 04:26:36 +0530 Subject: [PATCH] making the upsell less offensive. --- src/http/post-index/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/post-index/helpers.js b/src/http/post-index/helpers.js index 388c3be..e56ae25 100644 --- a/src/http/post-index/helpers.js +++ b/src/http/post-index/helpers.js @@ -159,7 +159,7 @@ const shouldAskForSupport = () => { // To double the probability, use 5 (5 & 10). Or to triple, use 3 (3, 6, 9). // For upsell in 1 out 10 requests, using 7 (default) since 7 is a prime number - if (Math.ceil(Math.random() * 10) % 5 === 0) return true; + if (Math.ceil(Math.random() * 10) % 7 === 0) return true; else return false; // hard return for testing