llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
154 stars 34 forks source link

improve retrying on error #145

Closed BlinkyStitt closed 1 year ago

BlinkyStitt commented 1 year ago

we still let too many 500s slip through. investigate more places we can do automated retrying

BlinkyStitt commented 1 year ago

There was a ? on one of the request handlers so that we weren't actually retrying if an error happened on that line. I made an error there continue the loop to try another server.

And I also added another layer of retrying on errors. I might end up removing that one if it just makes error responses slower, but we'll see how it works in practice