Site switch coachMail: 0 turns the stall-nudge mailer off (pre-launch production carries imported shell accounts that must not be nudged)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -211,6 +211,7 @@ let ticking = false;
|
||||
const NUDGE_GAP = 5 * DAY;
|
||||
async function nudgeTick() {
|
||||
if (ticking || !mailer || !mailer.hasKey()) return { nudges: 0, digests: 0 };
|
||||
if (X.siteConfig && String(X.siteConfig().coachMail || '1') === '0') return { nudges: 0, digests: 0, off: true }; // site switch: pre-launch, nobody gets a stall nudge
|
||||
ticking = true;
|
||||
let nudges = 0, digests = 0;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user