diff --git a/btcnodemonitor/src/main/java/bisq/btcnodemonitor/server/SimpleHttpServer.java b/btcnodemonitor/src/main/java/bisq/btcnodemonitor/server/SimpleHttpServer.java index f5a8a9616e7..27fa5a3f5fb 100644 --- a/btcnodemonitor/src/main/java/bisq/btcnodemonitor/server/SimpleHttpServer.java +++ b/btcnodemonitor/src/main/java/bisq/btcnodemonitor/server/SimpleHttpServer.java @@ -193,9 +193,9 @@ private String getConnectionInfo(PeerConncetionInfo info) { sb.append("Num connection attempts: ").append(info.getNumConnectionAttempts()).append("
"); double failureRate = info.getFailureRate(); String failureRateString = MathUtils.roundDouble(failureRate * 100, 2) + "%"; - if (failureRate > 0.9) { + if (failureRate > 0.5) { failureRateString = asError(failureRateString, failureRateString); - } else if (failureRate > 0.3) { + } else if (failureRate > 0.25) { failureRateString = asWarn(failureRateString, failureRateString); } sb.append("FailureRate (success/failures): ").append(failureRateString)