Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc-client: Use regular timeout value for pool idle timeout too
Setting pool idle timeout to a value smaller than solana-watchtower's poll interval can fix following error: [2022-08-25T04:03:22.811160892Z INFO solana_watchtower] Failure 1 of 3: solana-watchtower testnet: Error: rpc-error: error sending request for url (https://api.testnet.solana.com/): connection closed before message completed It looks like this happens because either RPC servers or ISPs drop HTTP connections without properly notifying the client in some cases. Similar issue: hyperium/hyper#2136. (cherry picked from commit 798975f)
- Loading branch information