mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-26 03:31:23 +00:00
re-introduce pingRemote during pruning
This commit is contained in:
@@ -487,6 +487,7 @@ public class RNSNetwork {
|
||||
log.info("prunePeers - pLink: {}, destinationHash: {}",
|
||||
pLink, Hex.encodeHexString(p.getDestinationHash()));
|
||||
log.debug("peer: {}", p);
|
||||
p.pingRemote();
|
||||
if (nonNull(pLink)) {
|
||||
if (p.getPeerTimedOut()) {
|
||||
// close peer link for now
|
||||
@@ -504,6 +505,8 @@ public class RNSNetwork {
|
||||
p.shutdown();
|
||||
peerList.remove(p);
|
||||
}
|
||||
} else {
|
||||
peerList.remove(p);
|
||||
}
|
||||
}
|
||||
//removeExpiredPeers(this.linkedPeers);
|
||||
|
Reference in New Issue
Block a user