Fill httpTransport field
This commit is contained in:
parent
90b5346763
commit
e5b70c0b18
1 changed files with 4 additions and 2 deletions
|
@ -103,6 +103,8 @@ func NewClient(authData *AuthData, logger zerolog.Logger) *Client {
|
||||||
AuthData: authData,
|
AuthData: authData,
|
||||||
Logger: logger,
|
Logger: logger,
|
||||||
sessionHandler: sessionHandler,
|
sessionHandler: sessionHandler,
|
||||||
|
|
||||||
|
httpTransport: transport,
|
||||||
http: &http.Client{Transport: transport, Timeout: 2 * time.Minute},
|
http: &http.Client{Transport: transport, Timeout: 2 * time.Minute},
|
||||||
lphttp: &http.Client{Transport: transport, Timeout: 30 * time.Minute},
|
lphttp: &http.Client{Transport: transport, Timeout: 30 * time.Minute},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue