Add Retry to Steem Load Balancer Nodes

in hive-102132 •  3 months ago 

I've let two Steem Load Balancer Nodes running - and was surprised to see they both crashed at some points:

London, UK: api.steemyy.com
06724599b133902923a56e545574cc9.png

New York, USA: steem.justyy.com
2f5b3ba9570783cb25d3ba4af0c4ec1.png

I dig into the logs and fixed the problem by adding the Retry.

The reason it crashed was that when forwarding the Requests (GET or POST) to the chosen node, it might fail due to network intermitent issues.

The commit is here.

image.png

Steem to the Moon🚀!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!