longer sleep
Some checks are pending
Build and Publish / BuildAndDeployAmd64 (push) Waiting to run
Build and Publish / BuildAndDeploy (push) Waiting to run

This commit is contained in:
matst80
2024-11-13 23:24:24 +01:00
parent dc08040870
commit 9f6a4025eb

View File

@@ -207,7 +207,7 @@ func NewSyncedPool(local *GrainLocalPool, hostname string, discovery Discovery)
if chng.Type != watch.Deleted && !known { if chng.Type != watch.Deleted && !known {
log.Printf("Discovered host %s, waiting for startup", chng.Host) log.Printf("Discovered host %s, waiting for startup", chng.Host)
time.Sleep(time.Second) time.Sleep(3 * time.Second)
pool.AddRemote(chng.Host) pool.AddRemote(chng.Host)
} else if chng.Type == watch.Deleted && known { } else if chng.Type == watch.Deleted && known {