This commit is contained in:
Manfred Karrer 2018-01-21 12:06:04 -05:00
parent c4c4c0662b
commit 02f04d3129
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -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 {