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

Method scheduleReconnect

web/lib/collaboration/socket.ts:315–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 private scheduleReconnect(): void {
316 if (this.reconnectAttempts >= this.maxReconnectAttempts) return;
317 const delay = this.baseDelay * Math.pow(2, this.reconnectAttempts);
318 this.reconnectAttempts++;
319 this.reconnectTimer = setTimeout(() => this.connect(this.wsUrl), delay);
320 }
321}

Callers 1

connectMethod · 0.95

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected