Steem Load Balancer: Fixing a Bug when All Requests Failed

in #steemlast year

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🚀!

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.083
BTC 64246.26
ETH 1730.98
USDT 1.00
SBD 0.42