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:
@@ -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
|
||||
|
Reference in New Issue
Block a user