In most libraries there is timeout
parameter for SSE
connection which is usually set to 1 second or to infinity by default.
This means, that server will close SSE connection in 1 second, and client after that should reconnect again.
What i should take into account selecting the value for SSE connection timeout ?
Why not set it to 10 minutes or 24 hours for example ?