Skip to content

Commit e3eff00

Browse files
authored
Merge pull request #2493 from norio-nomura/allow-the-host-agent-some-grace-time-to-forcibly-kill-qemu
limactl stop: extend the timeout for waiting for the hostAgent to stop
2 parents 6fa9145 + 54bc5b5 commit e3eff00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func stopInstanceGracefully(inst *store.Instance) error {
7575
}
7676

7777
func waitForHostAgentTermination(ctx context.Context, inst *store.Instance, begin time.Time) error {
78-
ctx2, cancel := context.WithTimeout(ctx, 3*time.Minute)
78+
ctx2, cancel := context.WithTimeout(ctx, 3*time.Minute+10*time.Second)
7979
defer cancel()
8080

8181
var receivedExitingEvent bool

0 commit comments

Comments
 (0)