1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 07:09:44 +00:00

Change default timeout to 1 minute

This commit is contained in:
Darren Shepherd
2018-06-19 11:18:57 -07:00
parent 413808be1d
commit 2706ddc350

View File

@@ -176,7 +176,7 @@ func NewAPIClient(opts *ClientOpts) (APIBaseClient, error) {
}
if opts.Timeout == 0 {
opts.Timeout = time.Second * 10
opts.Timeout = time.Minute
}
client.Timeout = opts.Timeout