mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Count stable connections even in case of connection failure.
This commit is contained in:
@@ -98,7 +98,7 @@ class BluetoothConnectionLimiterImpl implements BluetoothConnectionLimiter {
|
||||
synchronized (lock) {
|
||||
long now = clock.currentTimeMillis();
|
||||
if (exception) LOG.info("Connection failed");
|
||||
else countStableConnections(now);
|
||||
countStableConnections(now);
|
||||
connections.remove(conn);
|
||||
timeOfLastChange = now;
|
||||
if (LOG.isLoggable(INFO)) {
|
||||
|
||||
Reference in New Issue
Block a user