Use a more descriptive value (simulating infinite) when the node could not be reached, in NodeLatencyVerifier

develop
Severiano Jaramillo 2018-09-27 13:10:28 -05:00
parent bb14110b09
commit 9374b125a1
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class NodeLatencyVerifier {
if(response == null) {
// There is no internet connection, or the node is unreachable. We are just
// putting an artificial delay.
delay = 10000;
delay = Long.MAX_VALUE;
} else {
long after = System.currentTimeMillis();
long before = timestamps.get(fullNode);