-
|
I have a function with a long process to convert some audio/video files with ffmpeg and this process time is greater than 10ms The project is a telegram bot, you can test here |
Beta Was this translation helpful? Give feedback.
Replies: 3 suggested answers 1 reply
{{title}}
{{editor}}'s edit
{{editor}}'s edit
-
|
Yes, you can configure the Here's an example {
"functions": {
"api/test.js": {
"maxDuration": 60
}
}
}Note that anything longer than 10 seconds requires paid plan. |
Beta Was this translation helpful? Give feedback.
-
|
I am having some problems when setting up a I am getting this error: I have also tried to add the runtime, nodeJS, which I think is also optional, like that: but I got the same error. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Does anyone know what to do in case of Remix? |
Beta Was this translation helpful? Give feedback.

Yes, you can configure the
maxDurationusing thefunctionsproperty.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