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.
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.