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

Method resetReconnectFailures

internal/home/client.go:507–514  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505}
506
507func (c *Client) resetReconnectFailures() {
508 if c == nil {
509 return
510 }
511 c.mu.Lock()
512 c.reconnectFailures = 0
513 c.mu.Unlock()
514}
515
516func (c *Client) GetConfig(ctx context.Context) ([]byte, error) {
517 c.refreshBestClusterNode(ctx)

Callers 1

StartConfigSubscriberMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected