jfrog-client-go icon indicating copy to clipboard operation
jfrog-client-go copied to clipboard

Configurable Timeout for http.Client

Open M0roSan opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. client timeout is currently set at 30s, introduced by #29 I like to set it shorter to fail fast or set it longer to deal with connection queue

Describe the solution you'd like to see Configurable timeout

Describe alternatives you've considered #289 is related and can possibly solve this.

M0roSan avatar Jun 12 '21 19:06 M0roSan

@M0roSan - See this PR which I've just created - https://github.com/jfrog/jfrog-client-go/pull/362 Please let me know what you think. I suggest that before we move on with reviewing this PR, it'll be great if you can already test the code by using my forked branch. If all works well for you, we'll proceed with promoting the PR.

eyalbe4 avatar Jun 13 '21 09:06 eyalbe4