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 K7475b9715dc8
diff --git a/apps/web/app/api/cron/import/csv/route.ts b/apps/web/app/api/cron/import/csv/route.ts
index dcdb1f750e..61dd28bf30 100644
--- a/apps/web/app/api/cron/import/csv/route.ts
+++ b/apps/web/app/api/cron/import/csv/route.ts
@@ -57,7 +57,7 @@ interface ErrorLink {
error: string;
}
-const MAX_ROWS_PER_EXECUTION = 50; // Number of rows to process per execution
+const MAX_ROWS_PER_EXECUTION = 500;
export async function POST(req: Request) {
try {
@@ -103,7 +103,6 @@ export async function POST(req: Request) {
// Skip rows until we reach our cursor position
if (currentRow < cursor) {
- console.log(`Skipping row ${currentRow} of ${results.data.length}`);
currentRow++;
parser.resume();
return;