Readypod optimization in executor (#1860)

A ready pod which can be specialized was fetched for every function earlier, this has been changed to a queue and cache implementation in client-go to improve performance.
This commit is contained in:
Rahul Bhati
2020-11-19 15:23:02 +05:30
committed by GitHub
parent aaf9f18d93
commit bb9f4136f5
8 changed files with 128 additions and 180 deletions
-1
View File
@@ -148,7 +148,6 @@ func (w *fakeCloseReadCloser) RealClose() error {
func (roundTripper *RetryingRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
// set the timeout for transport context
roundTripper.addForwardedHostHeader(req)
transport := roundTripper.getDefaultTransport()
ocRoundTripper := &ochttp.Transport{Base: transport}