Closed fabioberger closed 3 years ago
The issue was on my end. My async main function was calling a sync function which would then call an async function, and this was causing intermittent hanging requests. Removing this unnecessary indirection solved the issue and rust-web3
supports concurrent requests beautifully.
When making concurrent requests using
futures::future::try_join_all
and therust-web3
HTTP transport, some requests hang indefinitely despite the backing Ethereum node responding successfully (Status 200) to all the requests. The issue is intermittent and only happens sometimes.Does
rust-web3
support making concurrent HTTP requests using a singleweb3::Web3
instance?