{"action":"closed","issue":{"url":"https://api.github.com/repos/fabric8io/kubernetes-client/issues/218","labels_url":"https://api.github.com/repos/fabric8io/kubernetes-client/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/kubernetes-client/issues/218/comments","events_url":"https://api.github.com/repos/fabric8io/kubernetes-client/issues/218/events","html_url":"https://github.com/fabric8io/kubernetes-client/issues/218","id":116292463,"number":218,"title":"Reuse http client when adapting client","user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-11T09:00:31Z","updated_at":"2015-11-12T14:59:51Z","closed_at":"2015-11-12T14:59:51Z","body":"Currently when we adapt a client to e.g. `OpenShiftClient` we create a new instance of `OkHttpClient`. This creates a separate `ThreadPoolExecutor` which may be wasteful considering the client is using the same config to create the `OkHttpClient` instance.\r\n\r\nOne intricacy to deal with if we do this is making sure we don't close the underlying `ThreadPoolExecutor` until every client using it is closed. Could get tricky.\r\n\r\nThoughts @iocanel?"}}