Use a more descriptive value (simulating infinite) when the node could not be reached, in NodeLatencyVerifier
This commit is contained in:
parent
bb14110b09
commit
9374b125a1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue