-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
how can I set the enlarge the pool_connections and pool_maxsize for urllib3 in web3? #1469
Comments
Sorry @ayeteng this was raised right at the beginning of Devcon and I missed it. Are you using the HTTPProvider? I'm not aware of a way to increase |
Thanks @kclowes , import requests |
Web3 seems to assume that kwargs passed to the
I'm meditating on a clean way to accomplish this without drastically redesigning |
@EdNoepel , |
I found this was closed in 55297bc |
What was wrong?
If I submit the transaction in multi-threading environment, I got the error message as below:
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: localhost
I think it's because of the connection not released until I get the transaction receipt. So, is it possible to set larger the pool_connections and pool_maxsize for urllib3 in web3 to avoid such error?
The text was updated successfully, but these errors were encountered: