Skip to content

Commit 58f7a45

Browse files
committed
feat: add idleTimeout configuration for bun server
1 parent a2467d3 commit 58f7a45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/start.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ export async function runServer(options: RunServerOptions): Promise<void> {
117117
serve({
118118
fetch: server.fetch as ServerHandler,
119119
port: options.port,
120+
bun: {
121+
idleTimeout: 0,
122+
},
120123
})
121124
}
122125

0 commit comments

Comments
 (0)