MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / markReconnectFailure

Method markReconnectFailure

internal/home/client.go:435–440  ·  view source on GitHub ↗
(reason string)

Source from the content-addressed store, hash-verified

433}
434
435func (c *Client) markReconnectFailure(reason string) {
436 switched, addr := c.failoverAfterReconnectFailure()
437 if switched {
438 log.Warnf("home control center unavailable after repeated %s failures; switching to %s", reason, addr)
439 }
440}
441
442func (c *Client) failoverAfterReconnectFailure() (bool, string) {
443 if c == nil {

Callers 1

StartConfigSubscriberMethod · 0.95

Calls 1

Tested by

no test coverage detected