Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update route.ts

Kiran K12b10468a4c8
diff --git a/apps/web/app/api/cron/import/csv/route.ts b/apps/web/app/api/cron/import/csv/route.ts
index 40784a9581..96ba5498e3 100644
--- a/apps/web/app/api/cron/import/csv/route.ts
+++ b/apps/web/app/api/cron/import/csv/route.ts
@@ -150,7 +150,7 @@ const prepareRows = async (payload: z.infer<typeof payloadSchema>) => {
const processRows = async (payload: z.infer<typeof payloadSchema>) => {
const { id, workspaceId, mapping } = payload;
const redisKey = `import:csv:${workspaceId}:${id}`;
- const BATCH_SIZE = 25; // Process 500 links at a time
+ const BATCH_SIZE = 500; // Process 500 links at a time
const rows = await redis.lpop<Record<string, string>[]>(
`${redisKey}:rows`,