The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add final log
Steven Tey2451f2b90f7f
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 cfc0926495..d4f7c3a38d 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@@ -68,6 +68,10 @@ async function deleteOldLinks(take: LINKS_PER_BATCH,});+ console.log(+ `[Link retention cleanup] Found ${links.length} links to delete for ${domain.slug} that are older than ${domain.linkRetentionDays} days`,+ );+if (links.length === 0) break;console.log(