The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
finalize logs
Steven Teya16dc5d53fd4
diff --git a/apps/web/app/(ee)/api/cron/link-retention-cleanup/route.ts b/apps/web/app/(ee)/api/cron/link-retention-cleanup/route.tsindex d4f7c3a38d..8f3cbc2229 100644--- a/apps/web/app/(ee)/api/cron/link-retention-cleanup/route.ts+++ b/apps/web/app/(ee)/api/cron/link-retention-cleanup/route.ts@@ -75,7 +75,7 @@ async function deleteOldLinks(if (links.length === 0) break;console.log(- `[Link retention cleanup] Deleting ${links.length} links for ${domain} (batch ${processedBatches + 1})...`,+ `[Link retention cleanup] Deleting ${links.length} links for ${domain.slug} (batch ${processedBatches + 1})...`,);console.table(links, ["shortLink", "createdAt"]);@@ -108,7 +108,7 @@ async function deleteOldLinks();console.log(- `[Link retention cleanup] Deleted ${links.length} links for ${domain}!`,+ `[Link retention cleanup] Deleted ${links.length} links for ${domain.slug} that are older than ${domain.linkRetentionDays} days!`,);++processedBatches;