cleanup
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 27s
Build and Publish / BuildAndDeploy (push) Successful in 2m14s

This commit is contained in:
matst80
2024-11-13 11:04:43 +01:00
parent 11a871d2ce
commit 745fe00d75

View File

@@ -400,10 +400,7 @@ func (p *SyncedPool) AddRemote(host string) error {
}() }()
go func() { go func() {
for range time.Tick(time.Second * 3) { for range time.Tick(time.Second * 3) {
if !remote.IsHealthy() {
return
}
log.Printf("Pinging remote %s\n", host)
err := remote.Ping() err := remote.Ping()
for err != nil { for err != nil {