Commit d70a4bf
committed
fix: reduce audio chunk segment duration to fit Vercel's payload limit
Vercel serverless functions reject request bodies over 4.5 MB
(FUNCTION_PAYLOAD_TOO_LARGE). The previous 600s segments produced
~9.4 MB chunks at 128 kbps, causing all chunks to fail in production.
Reducing to 240s keeps each chunk under ~3.75 MB.1 parent b0e14f4 commit d70a4bf
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | | - | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
2158 | 2160 | | |
2159 | 2161 | | |
2160 | 2162 | | |
| |||
0 commit comments