MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / onConnectTimeout

Function onConnectTimeout

source code/bridge/remoteBridgeCore.ts:303–311  ·  view source on GitHub ↗
(cause: ConnectCause)

Source from the content-addressed store, hash-verified

301 // signal for the `started → (silence)` gap.
302 let connectDeadline: ReturnType<typeof setTimeout> | undefined
303 function onConnectTimeout(cause: ConnectCause): void {
304 if (tornDown) return
305 logEvent('tengu_bridge_repl_connect_timeout', {
306 v2: true,
307 elapsed_ms: cfg.connect_timeout_ms,
308 cause:
309 cause as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
310 })
311 }
312
313 // ── 5. JWT refresh scheduler ────────────────────────────────────────────
314 // Schedule a callback 5min before expiry (per response.expires_in). On fire,

Callers

nothing calls this directly

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected