ArangoDB-Community / pyArango

Python Driver for ArangoDB with built-in validation
https://pyarango.readthedocs.io/en/latest/
Apache License 2.0
238 stars 90 forks source link

Added connection pool_maxsize parameter #216

Closed cristiansteib closed 2 years ago

cristiansteib commented 2 years ago

Problem

Requests discarded, losing data.

Context

The library requests has a default pool size of 10 connections, so, when we need to use more threads than this default value the requests are discarded.

Solution

Added a parameter in the Connection constructor to specify the max size of the HTTP pool connections.