mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Add SSE heartbeat to prevent Cloudflare 524 timeout
This commit is contained in:
1 parent
ffa7e413d4
commit
b56f1fdf7e
3 files changed
+17
No files matched your search
@@ -207,6 +207,10 @@ class SSEManager {
|
||||
// Ignore
|
||||
}
|
||||
})
|
||||
|
||||
this.eventSource.addEventListener('heartbeat', () => {
|
||||
// Heartbeat received - connection is alive
|
||||
})
|
||||
}
|
||||
|
||||
private disconnect(): void {
|
||||
|
||||
Reference in new issue
Block a user