Back to the matrix

Reconnect backoff cap

app/lib/lc/chime-session-tuning.ts, line 57

Repository rr7

 * Full-jitter backoff caps at this. Raising it from 5 s to 8 s means fewer attempts during a
 * real outage, which is the correct direction: hammering a dead link neither reconnects
 * sooner nor leaves the link in better shape when it returns.
 */
const RECONNECT_LONG_BACKOFF_MS = 8_000;

/**
 * Loosened connection-health thresholds.
 *
 * `ConnectionHealthReconnect` forces a FULL reconnect, and on a marginal-but-working link that
 * is usually worse than riding out the blip: it tears down media that was still carrying a
 * conversation. The three values below are the ones that decide when that fires. Everything
 * else on the object keeps its SDK default deliberately, including the bar timings, which the
 * app does not read (our quality bars come from `video-quality.ts` on our own metric).
 */