Skip to content

Commit 3bdc7da

Browse files
committed
chore: pro upgrade immediately on start to not keep user waiting for best ux
1 parent 3c2be5d commit 3bdc7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/promotions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define(function (require, exports, module) {
4848
const EVENT_PRO_UPGRADE_ON_INSTALL = "pro_upgrade_on_install";
4949
const PROMO_LOCAL_FILE = path.join(Phoenix.app.getApplicationSupportDirectory(),
5050
Phoenix.isTestWindow ? "entitlements_promo_test.json" : "entitlements_promo.json");
51-
const TRIAL_POLL_MS = 10 * 1000; // 10 seconds after start, we assign a free trial if possible
51+
const TRIAL_POLL_MS = 1000; // We assign a free trial if possible as soon as user comes in for best UX.
5252
const FIRST_INSTALL_TRIAL_DAYS = 30;
5353
const SUBSEQUENT_TRIAL_DAYS = 7;
5454
const MS_PER_DAY = 24 * 60 * 60 * 1000;

0 commit comments

Comments
 (0)