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

Method markHealthy

src/node/runtime/sshConnectionPool.ts:396–399  ·  view source on GitHub ↗

* Mark connection as healthy. * Call after successful SSH operations to maintain health state.

(config: SSHConnectionConfig)

Source from the content-addressed store, hash-verified

394 * Call after successful SSH operations to maintain health state.
395 */
396 markHealthy(config: SSHConnectionConfig): void {
397 const key = makeConnectionKey(config);
398 this.markHealthyByKey(key);
399 }
400
401 /**
402 * Report a connection failure.

Callers 4

spawnRemoteProcessMethod · 0.45
spawnRemoteProcessMethod · 0.45

Calls 2

markHealthyByKeyMethod · 0.95
makeConnectionKeyFunction · 0.70

Tested by 1