Skip to content

Is possible configure the timeout limit? #4502

Answered by styfle
eptaccio asked this question in Help
Discussion options

You must be logged in to vote

Yes, you can configure the maxDuration using the functions property.

Here's an example vercel.json:

{
  "functions": {
    "api/test.js": {
      "maxDuration": 60
    }
  }
}

Note that anything longer than 10 seconds requires paid plan.

https://vercel.com/docs/v2/platform/limits

Replies: 3 suggested answers 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by styfle
Comment options

You must be logged in to vote
1 reply
@styfle
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants