Skip to content

Commit e426f65

Browse files
committed
increase update api route timeout
1 parent 0d06f00 commit e426f65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/api/projects/update.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import { updateDBProjects } from 'lib/api/supabase/projects'
2-
import { NextApiHandler } from 'next'
1+
import { updateDBProjects } from 'lib/api/supabase/projects';
2+
import { NextApiHandler } from 'next';
3+
4+
export const maxDuration = 60;
35

46
// Synchronizes projects in the database with the latest Juicebox Subgraph/IPFS data
57
const handler: NextApiHandler = async (req, res) => {

0 commit comments

Comments
 (0)