We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4735e91 commit c30a590Copy full SHA for c30a590
src/start.ts
@@ -117,11 +117,10 @@ export async function runServer(options: RunServerOptions): Promise<void> {
117
serve({
118
fetch: server.fetch as ServerHandler,
119
port: options.port,
120
- // Bun-specific options for longer timeouts
+ // Bun-specific options - disable timeout
121
bun: {
122
- // Disable request timeout (set to 0 or very high value)
123
- // Default is 10 seconds, we set to 5 minutes for long streaming requests
124
- idleTimeout: 300, // 5 minutes in seconds
+ // Set to 0 to disable idle timeout completely
+ idleTimeout: 0,
125
},
126
})
127
}
0 commit comments