mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-05 01:07:51 +00:00
Add debugging message to Peer regarding lost PING replies
This commit is contained in:
parent
2d18dd62eb
commit
d7c26c27e1
@ -489,6 +489,7 @@ public class Peer {
|
|||||||
final long after = System.currentTimeMillis();
|
final long after = System.currentTimeMillis();
|
||||||
|
|
||||||
if (message == null || message.getType() != MessageType.PING) {
|
if (message == null || message.getType() != MessageType.PING) {
|
||||||
|
LOGGER.debug(() -> String.format("Didn't receive reply from %s for PING ID %d", this, pingMessage.getId()));
|
||||||
this.disconnect("no ping received");
|
this.disconnect("no ping received");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user