longer sleep
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user