How do function duration limitations affect workflows? #228
-
|
Vercel has a maximum function duration of 800s. How does this affect workflows? Is each step effectively a different invocation with an 800s limit? If I'm starting a workflow from a route handler does the route |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yup each step gets the full 800s limit (or whatever liit you have on your vercel plan) when deploying on vercel The route's max duration doesn't affect the workflow. (unless you try to |
Beta Was this translation helpful? Give feedback.
Yup each step gets the full 800s limit (or whatever liit you have on your vercel plan) when deploying on vercel
The route's max duration doesn't affect the workflow. (unless you try to
awaitthe run'sreadableproperty or respond to the server route with the workflow'sreadableStream. In those cases, your'e basically opting in to your route having to wait for the entire workflow to complete. ofcourse that only affects the response since the worklfow itself is still running in the "background")