Drip Runner refuels get their own daily allowance (refuelCapPerDay 20): visit_seen.kind earn|refuel, each kind capped separately, once-per-page-per-person still spans both; clearer refuel cap / no-packs copy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-30 17:44:59 -05:00
parent 2b2e131c3e
commit 5d0e89be6f
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -2446,7 +2446,7 @@ const server = http.createServer(async (req, res) => {
if (t && t.done) return json(res, 200, { done: true, ret: t.doneRet || t.ret });
if (!t) {
const email = String(c.email).toLowerCase();
const status = await ads.visitStatus(email);
const status = await ads.visitStatus(email, 'refuel'); // refuels have their own daily allowance
if (status.count >= status.cap) return json(res, 200, { none: true, why: 'cap', ret: c.ret });
const ad = await ads.serveVisit(email, viewerGeo(req));
if (!ad) return json(res, 200, { none: true, why: 'empty', ret: c.ret });