My route handler streams a response with two tools. Locally it finishes in ~20 seconds. Deployed, the stream stops at exactly 15 seconds with no error.
My route handler streams a response with two tools. Locally it finishes in ~20 seconds. Deployed, the stream stops at exactly 15 seconds with no error.
15 seconds is the default max duration on Hobby. Export export const maxDuration = 60; from the route — streaming responses count the whole stream, not time to first byte.
That fixed it. I assumed streaming would not count.