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