Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Increase GQL API timeout duration (Vercel) #1365

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Nothing yet.

- Fixes
- The application no longer breaks in specific cases when filters were re-loaded
- Maintenance
- Increased timeout duration for GQL API (Vercel deployments)

# [3.26.1] - 2024-02-22

Expand Down
2 changes: 2 additions & 0 deletions app/pages/api/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export const config = {
api: {
bodyParser: false,
},
// see https://vercel.com/docs/functions/configuring-functions/duration
maxDuration: 60,
};

const start = server.start();
Expand Down
Loading