mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-11 16:10:32 -04:00
Fix Bootstrapnode performance bug
This commit is contained in:
parent
232270bf86
commit
c4d56d43f4
2 changed files with 8 additions and 8 deletions
|
@ -104,16 +104,17 @@ public class BootstrapNode {
|
|||
for (PeerAddress peerAddress : peer.peerBean().peerMap().all()) {
|
||||
log.info("Peer: " + peerAddress.toString());
|
||||
}
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
} catch (InterruptedException e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (noPeersInfoPrinted) {
|
||||
log.info("No peers online");
|
||||
noPeersInfoPrinted = true;
|
||||
}
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue