Open gate if request failed

This commit is contained in:
Florian Reimair 2019-01-30 12:46:50 +01:00
parent 2ca5fdc475
commit f64a0baff3
3 changed files with 3 additions and 0 deletions

View file

@ -155,6 +155,7 @@ public class P2PNetworkLoad extends Metric implements MessageListener, SetupList
@Override
public void onFailure(@NotNull Throwable throwable) {
gate.proceed();
log.error(
"Sending PreliminaryDataRequest failed. That is expected if the peer is offline.\n\tException="
+ throwable.getMessage());

View file

@ -150,6 +150,7 @@ public class P2PNetworkMessageSnapshot extends Metric implements MessageListener
@Override
public void onFailure(@NotNull Throwable throwable) {
gate.proceed();
log.error(
"Sending PreliminaryDataRequest failed. That is expected if the peer is offline.\n\tException="
+ throwable.getMessage());

View file

@ -121,6 +121,7 @@ public class P2PRoundTripTime extends Metric implements MessageListener, SetupLi
@Override
public void onFailure(@NotNull Throwable throwable) {
gate.proceed();
log.error("Sending ping failed. That is expected if the peer is offline.\n\tException="
+ throwable.getMessage());
}