From 4d47323df4595d134a750c618a79f4ab002154a0 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Thu, 24 Oct 2024 15:51:55 +0200 Subject: [PATCH] add readme text for sse keep alive --- services/sse/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/sse/README.md b/services/sse/README.md index 11e47b7c9e..d6a5f1ecb1 100644 --- a/services/sse/README.md +++ b/services/sse/README.md @@ -12,3 +12,8 @@ Log services like the `userlog`, `clientlog` and `sse` are responsible for compo ## Subscribing Clients can subscribe to the `/sse` endpoint to be informed by the server when an event happens. The `sse` endpoint will respect language changes of the user without needing to reconnect. Note that SSE has a limitation of six open connections per browser which can be reached if one has opened various tabs of the Web UI pointing to the same Infinite Scale instance. + +## Keep SSE Connections Alive + +Some intermediate proxies drop connections after an idle time with no activity. If this is the case, configure the `SSE_KEEPALIVE_INTERVAL` envvar. This will send periodic SSE comments to keep connections open. +