mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-06 14:21:53 -04:00
clear and shut down inactive trades, move more to trade threads
This commit is contained in:
parent
c14f37b595
commit
c06a85b929
9 changed files with 82 additions and 75 deletions
|
@ -276,13 +276,13 @@ public class BroadcastHandler implements PeerManager.Listener {
|
|||
|
||||
@Override
|
||||
public void onFailure(@NotNull Throwable throwable) {
|
||||
log.warn("Broadcast to " + connection.getPeersNodeAddressOptional() + " failed. ", throwable);
|
||||
numOfFailedBroadcasts.incrementAndGet();
|
||||
|
||||
if (stopped.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
log.warn("Broadcast to " + connection.getPeersNodeAddressOptional() + " failed. ", throwable);
|
||||
numOfFailedBroadcasts.incrementAndGet();
|
||||
|
||||
maybeNotifyListeners(broadcastRequestsForConnection);
|
||||
checkForCompletion();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue