Pre-launch: mail gate LS_MAIL_MODE (default codes-only: only sign-in codes go out, everything else held and logged); holding-tank rescue sweep OFF unless TANK_RESCUE=on (it warned 274 sponsors of carried-over members and would have moved their referrals)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -221,6 +221,10 @@ async function markContacted(sponsorEmail, leadEmail) {
|
||||
return { ok: true };
|
||||
}
|
||||
async function rescueSweep() {
|
||||
// OFF unless TANK_RESCUE=on (Marty, 2026-10-17): carried-over members were never "contacted" on LinkSpin itself, so this
|
||||
// warned 274 sponsors and would have started moving their referrals out of their lines. Clear tank.json marks first if it
|
||||
// is ever switched on, or every old warning counts as already given.
|
||||
if (String(process.env.TANK_RESCUE || '').trim() !== 'on') return { warned: 0, rescued: 0, dead: 0, off: true };
|
||||
const now = Date.now();
|
||||
let warned = 0, rescued = 0, dead = 0;
|
||||
for (const a of await accounts.listAll(5000)) {
|
||||
|
||||
Reference in New Issue
Block a user