Skip to content

Be able to configure the underlying connection pool size #121

Open
@gael-ft

Description

@gael-ft

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions