mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
Make poll period and timeout configurable.
Make poll period short for integration testing.
This commit is contained in:
@@ -46,9 +46,9 @@ func (c *Client) Verb(verb string) *Request {
|
||||
verb: verb,
|
||||
c: c,
|
||||
path: "/api/v1beta1",
|
||||
sync: false,
|
||||
timeout: 20 * time.Second,
|
||||
pollPeriod: 20 * time.Second,
|
||||
sync: c.Sync,
|
||||
timeout: c.Timeout,
|
||||
pollPeriod: c.PollPeriod,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user