mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 07:46:05 -04:00
Enable doRemoveProtectedExpirableData again on close connection
This commit is contained in:
parent
663b505410
commit
775227b902
@ -51,11 +51,6 @@ public class PeerManager implements ConnectionListener {
|
||||
maxConnectionsPeer = maxConnections + 4;
|
||||
maxConnectionsNonDirect = maxConnections + 8;
|
||||
maxConnectionsAbsolute = maxConnections + 18;
|
||||
|
||||
if (DevFlags.STRESS_TEST_MODE)
|
||||
System.err.println(new SimpleDateFormat("HH:mm:ss.SSS").format(new Date()) +
|
||||
" - maxConnections = " + maxConnections +
|
||||
" / maxConnectionsAbsolute = " + maxConnectionsAbsolute);
|
||||
}
|
||||
|
||||
|
||||
|
@ -169,9 +169,9 @@ public class P2PDataStorage implements MessageListener, ConnectionListener {
|
||||
" / isIntended=" + closeConnectionReason.isIntended +
|
||||
" / Memory(MB): " + Profiler.getUsedMemory());
|
||||
|
||||
// TODO We get closeConnectionReason TERMINATED which removes offers which should nto be removed
|
||||
// TODO We get closeConnectionReason TERMINATED which removes offers which should not be removed
|
||||
// TODO investigate why EOFException happens
|
||||
//doRemoveProtectedExpirableData(protectedData, hashOfPayload);
|
||||
doRemoveProtectedExpirableData(protectedData, hashOfPayload);
|
||||
|
||||
} else {
|
||||
log.debug("Remove data ignored as we don't have an entry for that data.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user