Skip to content

Commit

Permalink
fix: Increase timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Artmann committed Jul 27, 2024
1 parent 44192fe commit 348026a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/api.migrate-games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const loader: LoaderFunction = async ({ request }) => {

const gameService = new GameService()

gameService.migrateGamesToDatabase()
await gameService.migrateGamesToDatabase()

return json({
status: 'success'
Expand Down
7 changes: 7 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"functions": {
"api/index.js": {
"maxDuration": 60
}
}
}

0 comments on commit 348026a

Please sign in to comment.