Stephan de Wit a404e9c5a2 dashboard: toggle SSE persistent connections based on document visibility
While SSE promises to be properly multiplexed over HTTP/2, it seems browsers
still hit a hard limit when opening >6 connections. Since the streams are not
critical, it's fine to abstract the eventsource logic to the base widget class
where it manages open/closing connections based on tab visiblity.

If we need more than 6 parallel streams, we need to revamp the logic
to multiplex multiple event types in the backend ourselves, but this is not
necessary for now.
2024-06-07 16:28:04 +02:00
..
2020-04-13 22:19:37 +02:00
2024-06-07 14:51:31 +02:00
2024-02-22 17:02:06 +01:00
2024-06-07 14:51:31 +02:00