What is the default timeout? #465
-
I see a method here to set the http timeout Line 514 in 1792d62 but i am unable to find what is the default timeout when we create a client using |
Beta Was this translation helpful? Give feedback.
Answered by
jeevatkm
Oct 25, 2021
Replies: 2 comments 1 reply
-
The default timeout of 30s is set in transport.go. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@kishaningithub In the flow of method Lines 1048 to 1050 in 1792d62 hc.Transport is nil
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jeevatkm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kishaningithub In the flow of method
resty.New()
, thecreateTranport(nil)
called atresty/client.go
Lines 1048 to 1050 in 1792d62
hc.Transport
isnil