From e65e50105271f3503440b07bc7935fcdcfe54a5a Mon Sep 17 00:00:00 2001 From: geosearchef Date: Thu, 30 Sep 2021 15:26:54 +0200 Subject: [PATCH] disable ping fallback notification --- .../main/java/com/faforever/iceadapter/util/PingWrapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ice-adapter/src/main/java/com/faforever/iceadapter/util/PingWrapper.java b/ice-adapter/src/main/java/com/faforever/iceadapter/util/PingWrapper.java index 85a7e91..0c9df99 100644 --- a/ice-adapter/src/main/java/com/faforever/iceadapter/util/PingWrapper.java +++ b/ice-adapter/src/main/java/com/faforever/iceadapter/util/PingWrapper.java @@ -62,8 +62,8 @@ public static CompletableFuture getLatency(String address, Integer count log.warn("Failed to ping {}", finalAddress); if(fallbackServers.containsKey(address)) { String fallback = fallbackServers.get(address); - log.info("Falling back to " + fallback + " for latency estimation"); - TrayIcon.showMessage("Failed to estimate latency to " + address + ". Using fallback server instead."); + log.warn("SERVER NOT RESPONDING (TO ICMP ECHO). FIX THE SERVER!!! THIS IS A -->TEMPORARY<-- SOLUTION! Falling back to " + fallback + " for latency estimation"); +// TrayIcon.showMessage("Failed to estimate latency to " + address + ". Using fallback server instead."); // TODO: disabled to not annoy people, enable after the server is fixed return getLatency(fallback, IceAdapter.PING_COUNT).get(); } TrayIcon.showMessage("Unable to contact relay server!");