mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Use the transport's idle timeout, not a hardcoded value.
This commit is contained in:
@@ -68,6 +68,10 @@ class BluetoothTransportConnection implements DuplexTransportConnection {
|
||||
return plugin.getMaxLatency();
|
||||
}
|
||||
|
||||
public long getMaxIdleTime() {
|
||||
return plugin.getMaxIdleTime();
|
||||
}
|
||||
|
||||
public long getCapacity() {
|
||||
return Long.MAX_VALUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user