Vercel max duration on serverless
Unanswered
Texas leafcutting ant posted this in #help-forum
Texas leafcutting antOP
I have a pro plan on vercel, and one of my serverless functions goes beyond 15secs
I have tried to add the below vercel.json
But this doesn't seem to work, it still get's timed out at 15 seconds, can someone help?
I have tried to add the below vercel.json
{
"functions": {
"pages/api/**/*.js": {
"maxDuration": 60
}
}
}But this doesn't seem to work, it still get's timed out at 15 seconds, can someone help?
1 Reply
@Texas leafcutting ant I have a pro plan on vercel, and one of my serverless functions goes beyond 15secs
I have tried to add the below vercel.json
{
"functions": {
"pages/api/**/*.js": {
"maxDuration": 60
}
}
}
But this doesn't seem to work, it still get's timed out at 15 seconds, can someone help?
try
{
"functions": {
"pages/api/**/*": {
"maxDuration": 60
}
}
}