Skip to content

Commit

Permalink
added max duraton for longer execution
Browse files Browse the repository at this point in the history
  • Loading branch information
admineral committed Sep 22, 2024
1 parent e8a2ca8 commit aaba6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/api/csv-preview/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import fs from 'fs/promises';
import path from 'path';
import { parse } from 'csv-parse/sync';

export const maxDuration = 300;

interface Record {
Client: string;
Warehouse: string;
Expand Down

0 comments on commit aaba6bd

Please sign in to comment.