Define maxDuration as 300 seconds for the parsed events API route to explicitly control execution timeouts during long-running PDF layout processing. This ensures more predictable serverless behavior for streaming operations. |
||
|---|---|---|
| .. | ||
| [id] | ||
| blob | ||
| docx-to-pdf/upload | ||
| library | ||
| route.ts | ||