diff --git a/synced-pool.go b/synced-pool.go index 179ac4d..2f63e31 100644 --- a/synced-pool.go +++ b/synced-pool.go @@ -414,14 +414,6 @@ func (p *SyncedPool) AddRemote(host string) error { } } }() - go func() { - for range client.Errors { - if client.ErrorCount > 3 { - log.Printf("Error count exceeded, removing remote %s", host) - p.RemoveHost(&remote) - } - } - }() return p.addRemoteHost(host, &remote) }