Adding an argument to the adapter for passing a block argument to the connection pool.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This allows for blocking when using threading to prevent the pool from creating more connections that the max-size allows. Specifically was seeing the following errors without the block=True: WARNING:requests.packages.urllib3.connectionpool:HttpConnectionPool is full, discarding connection: www.example.com
authored by Randy Merrill · committed by Randy Merrill · parent e7786ec · Browse files · 1 file+10 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+10 added−4 removed
- other:+10 added−4 removed