* Report a connection failure. * Call when SSH operations fail due to connection issues (not command failures). * This triggers backoff to prevent thundering herd on a failing host.
(config: SSHConnectionConfig, error: string)
| 404 | * This triggers backoff to prevent thundering herd on a failing host. |
| 405 | */ |
| 406 | reportFailure(config: SSHConnectionConfig, error: string): void { |
| 407 | const key = makeConnectionKey(config); |
| 408 | this.markFailedByKey(key, error); |
| 409 | } |
| 410 | |
| 411 | /** |
| 412 | * Mark connection as healthy by key (internal use) |
no test coverage detected