Closed purplesmoke05 closed 8 months ago
In order to make aiohttp
Session cache thread-safe, web3 uses exclusion control on a single separate thread. This cannot be removed.
https://github.com/ethereum/web3.py/blob/v6/web3/_utils/request.py#L129-L141 https://github.com/ethereum/web3.py/blob/v6/web3/_utils/async_caching.py#L13
Is your feature request related to a problem? Please describe.
aiohttp
depended by web3 resolves domain name usinggetaddrinfo
which callsThread.run
.getaddrinfo
to be executed without threading.Describe the solution you'd like