You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the bitbucketserver and github vcsclient(s) the http.RoundTripper is not re-used, but created for each new request if client.vcsInfo.Token is provided.
This can cause an issue because connections acquire file descriptors and won't be released immediately after http.Client garbage collection, please see https://golang.org/src/net/http/transport.go#L68
The text was updated successfully, but these errors were encountered:
pavelmemory
changed the title
http.Client is not re-used
http. RoundTripper is not re-used
Nov 9, 2021
For the bitbucketserver and github vcsclient(s) the
http.RoundTripper
is not re-used, but created for each new request ifclient.vcsInfo.Token
is provided.This can cause an issue because connections acquire file descriptors and won't be released immediately after http.Client garbage collection, please see https://golang.org/src/net/http/transport.go#L68
The text was updated successfully, but these errors were encountered: