The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' into commissions-hold-status
Steven Teydc99719c37f9
diff --cc apps/web/app/(ee)/api/cron/cleanup/expired-fraud-groups/route.tsindex a9bba148ab,12aae35655..a3085b4ef4--- a/apps/web/app/(ee)/api/cron/cleanup/expired-fraud-groups/route.ts+++ b/apps/web/app/(ee)/api/cron/cleanup/expired-fraud-groups/route.ts@@@ -13,15 -12,9 +13,9 @@@ const BATCH_SIZE = 250// Runs once every day at 02:30:00 AM UTC (30 2 * * *)// POST /api/cron/cleanup/expired-fraud-groupsexport const POST = withCron(async () => {- // TODO: remove this after July 9th, 2026- // skip cron if it's before July 9th, 2026- if (new Date() < new Date("2026-07-09")) {- return logAndRespond("Skipping cron because it's before July 9th, 2026.");- }-let expiredCount = 0;while (true) {- const { count } = await prisma.fraudEventGroup.updateMany({+ const groupsToExpire = await prisma.fraudEventGroup.findMany({where: {status: "pending",lastEventAt: {