mirror of
https://github.com/suitenumerique/meet.git
synced 2026-11-05 18:56:31 +00:00
b9748983ac
When a LiveKit node crashes or Redis stalls, every client loses its signal connection at the same time and tries to reconnect at once. The frontend is about to spread these reconnections with a random exponential backoff. Expose its parameters under livekit.reconnect in the config endpoint to let each deployment tune them without rebuilding the frontend. LIVEKIT_RECONNECT_MAX_DELAY_MS defaults to 10 s: with delays drawn between half of it and all of it, a client retries every 7.5 s on average, close to the 7 s of LiveKit's default policy in a long outage. LIVEKIT_RECONNECT_BACKOFF_ENABLED switches back to LiveKit's default policy.