MCPcopy Create free account
hub / github.com/Noumena-Network/code / onConnectTimeout

Function onConnectTimeout

src/bridge/remoteBridgeCore.ts:298–306  ·  view source on GitHub ↗
(cause: ConnectCause)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

logEventFunction · 0.70

Tested by

no test coverage detected