Skip to content

Commit

Permalink
Use a tenth of a second as default interval
Browse files Browse the repository at this point in the history
  • Loading branch information
mniak committed Sep 18, 2020
1 parent 7d05d89 commit 6a1560f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wait/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewHTTPStrategy(path string) *HTTPStrategy {
TLSConfig: nil,
Method: http.MethodGet,
Body: nil,
PollInterval: 100 * time.Second,
PollInterval: time.Second / 10,
}
}

Expand Down Expand Up @@ -91,7 +91,6 @@ func (ws *HTTPStrategy) WithAllowInsecure(allowInsecure bool) *HTTPStrategy {
return ws
}


func (ws *HTTPStrategy) WithMethod(method string) *HTTPStrategy {
ws.Method = method
return ws
Expand Down

0 comments on commit 6a1560f

Please sign in to comment.