Skip to content
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

Increase the default pool size for UnixSocketAdapter #16

Merged
merged 4 commits into from
Jul 18, 2023
Merged

Conversation

woswos
Copy link
Member

@woswos woswos commented Jun 28, 2023

requests.adapters.HTTPAdapter internally overwrites the default pool size for HTTPConnectionPool and sets it to 10.

However, UnixSocketAdapter doesn't overwrite the default and the pool size stays at 1. I changed this.

@woswos woswos requested a review from ziyan June 28, 2023 11:16
@woswos woswos force-pushed the poolSize20230628 branch 2 times, most recently from 84be31f to 9001bd9 Compare June 28, 2023 11:35
@woswos woswos closed this Jul 3, 2023
@woswos woswos reopened this Jul 3, 2023
@woswos woswos changed the title Increase the default pool size Increase the default pool size for UnixSocketAdapter Jul 18, 2023
@ziyan ziyan merged commit e072c32 into master Jul 18, 2023
2 checks passed
@ziyan ziyan deleted the poolSize20230628 branch July 18, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants