subquery / subql

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.
https://subquery.network
GNU General Public License v3.0
18.94k stars 333 forks source link

Improve Multiple Endpoints Robustness #1945

Open joesixpack opened 1 year ago

joesixpack commented 1 year ago

Currently, there is no failover or round robin robustness implemented when using multiple RPC endpoints. As a result, any error or failure in one of the endpoints will abort the entire sync and either freeze or restart the Docker container.

Examples:

image

image

image

ianhe8x commented 1 year ago

This PR should fix the problem. https://github.com/subquery/subql/pull/1970