The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran Kacae885fd773
diff --git a/apps/web/app/api/cron/import/csv/route.ts b/apps/web/app/api/cron/import/csv/route.tsindex 445881d915..b093018614 100644--- a/apps/web/app/api/cron/import/csv/route.ts+++ b/apps/web/app/api/cron/import/csv/route.ts@@ -134,10 +134,10 @@ export async function POST(req: Request) {// If we processed the maximum rows and haven't reached the end, trigger next batchif (currentRow - cursor >= MAX_ROWS_PER_EXECUTION && !isComplete) {- await qstash.publishJSON({- url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/csv`,- body: payload,- });+ // await qstash.publishJSON({+ // url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/csv`,+ // body: payload,+ // });} else {const errorLinks = await redis.lrange<ErrorLink>(`${redisKey}:failed`,