mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Cleanup
This commit is contained in:
parent
c4c4c0662b
commit
02f04d3129
1 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ public class PeerManager implements ConnectionListener, PersistedDataHost {
|
|||
log.info("We have {} connections open. Our limit is {}", size, maxConnections);
|
||||
|
||||
if (size > maxConnections) {
|
||||
log.info("We have too many connections open.\n\t" +
|
||||
log.info("We have too many connections open. " +
|
||||
"Lets try first to remove the inbound connections of type PEER.");
|
||||
List<Connection> candidates = allConnections.stream()
|
||||
.filter(e -> e instanceof InboundConnection)
|
||||
|
@ -321,7 +321,7 @@ public class PeerManager implements ConnectionListener, PersistedDataHost {
|
|||
} else {
|
||||
log.warn("No candidates found to remove (That case should not be possible as we use in the " +
|
||||
"last case all connections).\n\t" +
|
||||
"allConnections=", allConnections);
|
||||
"allConnections={}", allConnections);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue