Steem Load Balancer: Fixing a Bug when All Requests Failed

in steem •  18 days ago 

When all requests failed (the server has a intermediate network issue), the code breaks. This crashes the load balancer's container.

I have to add this as a test even though this is unlikely to occur. A proper test would be to check the http response code in this case.

d426a4ab1478005eb7e9fa233e4c12f.png

Current Load Balancers

Open source: https://github.com/DoctorLai/steem-load-balancer

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!