Skip to content

Commit

Permalink
add readme text for sse keep alive
Browse files Browse the repository at this point in the history
  • Loading branch information
mmattel committed Oct 24, 2024
1 parent 5f9290c commit 4d47323
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/sse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 4d47323

Please sign in to comment.