fix: bump service wait to ten minutes
This adds a bit more time to the max wait time for services to start. This fixes a few issues. First it makes the cluster health wait fail often since there isn't enough time and the boot sequence fails, even though things are progressing just fine. Second, this gives a bit more time for users to collect data when debugging and more time for invoking the bootstrap API. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
652531853f
commit
644b464227
@ -1578,7 +1578,7 @@ func BootstrapEtcd(seq runtime.Sequence, data interface{}) runtime.TaskExecution
|
||||
|
||||
system.Services(r).ReloadAndStart(svc)
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, 5*time.Minute)
|
||||
ctx, cancel := context.WithTimeout(ctx, 10*time.Minute)
|
||||
defer cancel()
|
||||
|
||||
return system.WaitForService(system.StateEventUp, svc.ID(r)).Wait(ctx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user