MCPcopy Index your code
hub / github.com/codeaashu/claude-code / scheduleReconnect

Function scheduleReconnect

src/server/web/public/terminal.js:8892–8897  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8890 setStatus("disconnected");
8891 stopPing();
8892 showOverlay(reconnectOverlay);
8893 scheduleReconnect();
8894}
8895function scheduleReconnect() {
8896 if (reconnectTimer) clearTimeout(reconnectTimer);
8897 reconnectSub.textContent = `Retrying in ${Math.round(reconnectDelay / 1e3)}s\u2026`;
8898 reconnectTimer = setTimeout(() => connect(), reconnectDelay);
8899 reconnectDelay = Math.min(reconnectDelay * 2, RECONNECT_MAX_MS);
8900}

Callers 1

onDisconnectFunction · 0.70

Calls 1

connectFunction · 0.70

Tested by

no test coverage detected