Back to the matrix

Reconnect budget

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

Repository rr7

 * is the difference between resuming the lesson and rejoining it. Measured cost of getting
 * this wrong: 240 reconnects across 90 calls already succeed, so the SDK's own retry is the
 * mechanism that works and this only widens the window it is allowed to work in.
 */
const RECONNECT_TIMEOUT_MS = 300_000;

/**
 * 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.