Disable idle timeout

This commit is contained in:
Jared Miller 2026-01-28 15:38:29 -05:00
parent 43f7574e4e
commit 1a7e93d74d
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C
2 changed files with 1 additions and 5 deletions

View file

@ -1,5 +0,0 @@
Server listening on http://localhost:7200
[Bun.serve]: request timed out after 10 seconds. Pass `idleTimeout` to configure.
------------

View file

@ -84,6 +84,7 @@ initDb();
// Start server
const server = Bun.serve<SessionData>({
port,
idleTimeout: 0, // Disable timeout for long-lived SSE connections
async fetch(req, server) {
const url = new URL(req.url);