We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abfe959 commit 9cf648dCopy full SHA for 9cf648d
src/runtime/virtcontainers/clh.go
@@ -688,7 +688,9 @@ func (clh *cloudHypervisor) StartVM(ctx context.Context, timeout int) error {
688
}
689
clh.state.PID = pid
690
691
- ctx, cancel := context.WithTimeout(ctx, clh.getClhAPITimeout()*time.Second)
+ // TODO: revisit the value of this timeout. It currently allows a slower guest VM startup.
692
+ // ctx, cancel := context.WithTimeout(context.Background(), clh.getClhAPITimeout()*time.Second)
693
+ ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
694
defer cancel()
695
696
if err := clh.bootVM(ctx); err != nil {
0 commit comments