Extending Ping Timeout to 30 seconds for Node Status Page

in #witness-category4 years ago

Previously, the ping library (source code: https://steemyy.com/js/ping.js) is set to 5 second time out.

Thus, with such small timeouts, the tool will abandon the connection and show Timeout even the node was responsive but with a large latency.

I have now changed it to 30 seconds, so that it will work even the nodes are returning responses after 5 seconds.

image.png

One thing to notice that the Load balancer node https://steem.justyy.workers.dev in general have a larger latency as there involves a middle hop to re-route the traffice - but it greatly improves the availability.


Follow me for topics of Algorithms, Blockchain and Cloud.
I am @justyy - a Steem Witness
https://steemyy.com

My contributions

Support me

If you like my work, please:

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 64038.60
ETH 3148.89
USDT 1.00
SBD 3.97