-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: reuse request session #92
Comments
@lcarva pointed me at another ET client today that uses a single requests session with |
red-hat-storage#92 TODO: unittests monkeypatch needs adjusted
I've pushed a |
PR @ #146 |
interesting tweak https://github.com/containerbuildsystem/osbs-client/blob/master/osbs/http.py#L99 using urllib3 Retry object |
As the requests documentation describes, sharing a single requests Session object across each HTTP request means we can reuse the existing TCP connection, increasing performance.
The text was updated successfully, but these errors were encountered: