Skip to content

Commit

Permalink
Merge pull request #13 from praveenkumar/timeout
Browse files Browse the repository at this point in the history
Issue #12 Increase the shutdown wait timeout to 120sec
  • Loading branch information
gbraad authored May 29, 2019
2 parents 9339684 + c1775f1 commit 9fb4257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (d *Driver) Stop() error {
log.Warnf("Failed to gracefully shutdown VM")
return err
}
for i := 0; i < 90; i++ {
for i := 0; i < 120; i++ {
time.Sleep(time.Second)
s, _ := d.GetState()
log.Debugf("VM state: %s", s)
Expand Down

0 comments on commit 9fb4257

Please sign in to comment.