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

Method getConnectionHealth

src/node/runtime/sshConnectionPool.ts:365–368  ·  view source on GitHub ↗

* Get current health status for a connection

(config: SSHConnectionConfig)

Source from the content-addressed store, hash-verified

363 * Get current health status for a connection
364 */
365 getConnectionHealth(config: SSHConnectionConfig): ConnectionHealth | undefined {
366 const key = makeConnectionKey(config);
367 return this.health.get(key);
368 }
369
370 /**
371 * Get deterministic controlPath for SSH config.

Callers 1

Calls 2

makeConnectionKeyFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected