MCPcopy
hub / github.com/coder/mux / markHealthyByKey

Method markHealthyByKey

src/node/runtime/sshConnectionPool.ts:414–420  ·  view source on GitHub ↗

* Mark connection as healthy by key (internal use)

(key: string)

Source from the content-addressed store, hash-verified

412 * Mark connection as healthy by key (internal use)
413 */
414 private markHealthyByKey(key: string): void {
415 this.health.set(key, {
416 status: "healthy",
417 lastSuccess: new Date(),
418 consecutiveFailures: 0,
419 });
420 }
421
422 /**
423 * Mark connection as failed (internal use after failed probe)

Callers 3

markHealthyMethod · 0.95
probeConnectionMethod · 0.95

Calls 1

setMethod · 0.80

Tested by

no test coverage detected