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

Be able to configure the underlying connection pool size #121

Open
gael-ft opened this issue Nov 13, 2024 · 0 comments
Open

Be able to configure the underlying connection pool size #121

gael-ft opened this issue Nov 13, 2024 · 0 comments

Comments

@gael-ft
Copy link

gael-ft commented Nov 13, 2024

Hello,

Would be nice to be able to configure the underlying size of the connection pool.
DeepL is using requests as:

self._session = requests.Session()

which uses the default HTTPAdater, so 10 connections for http:// & https://.

When we have a peak, underlying client logs things like Connection pool is full, discarding connection which is not an error as is, but would be better if we could adapt the pool according to our traffic.

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

No branches or pull requests

1 participant