mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Increased connection timeout to 2 minutes, more logging.
This commit is contained in:
@@ -27,7 +27,7 @@ class ModemImpl implements Modem, WriteHandler, SerialPortEventListener {
|
||||
256000, 128000, 115200, 57600, 38400, 19200, 14400, 9600, 4800, 1200
|
||||
};
|
||||
private static final int OK_TIMEOUT = 5 * 1000; // Milliseconds
|
||||
private static final int CONNECT_TIMEOUT = 60 * 1000; // Milliseconds
|
||||
private static final int CONNECT_TIMEOUT = 2 * 60 * 1000; // Milliseconds
|
||||
|
||||
private final Executor executor;
|
||||
private final Callback callback;
|
||||
|
||||
@@ -76,7 +76,8 @@ class Receiver implements ReadHandler {
|
||||
sender.handleAck(b);
|
||||
break;
|
||||
default:
|
||||
if(LOG.isLoggable(INFO)) LOG.info("Ignoring unknown frame type");
|
||||
if(LOG.isLoggable(INFO))
|
||||
LOG.info("Ignoring unknown frame type: " + b[0]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user