Skip to content

Commit

Permalink
change the default wait and poll intervals
Browse files Browse the repository at this point in the history
I don't see a reason to wait 5 seconds. We could poll more often and make default operations faster.
This also reduces the acceptance tests runtime on my machine from 10m to 2m.
  • Loading branch information
dmacvicar committed Sep 19, 2024
1 parent 9a9a9ee commit 4bf2526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/timeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import (

const (
resourceStateTimeout = 1 * time.Minute
resourceStateDelay = 5 * time.Second
resourceStateMinTimeout = 3 * time.Second
resourceStateDelay = 200 * time.Millisecond
resourceStateMinTimeout = 100 * time.Millisecond
)

0 comments on commit 4bf2526

Please sign in to comment.