mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
chore: increase timeout 5->30s for waiting for machines to be ready in ucind cluster
This commit is contained in:
@@ -142,7 +142,7 @@ func (p *Provisioner) initCluster(ctx context.Context, machines []Machine) error
|
||||
|
||||
// Join the rest of the machines to the cluster.
|
||||
for _, m := range machines[1:] {
|
||||
if err = WaitMachineReady(ctx, m, 5*time.Second); err != nil {
|
||||
if err = WaitMachineReady(ctx, m, 30*time.Second); err != nil {
|
||||
return fmt.Errorf("wait for machine %q to be ready: %w", m.Name, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user