Reduce NetworkClient reconnect attempts from 5 -> 3
This commit is contained in:
@@ -31,7 +31,7 @@ public class NetworkClient extends NetworkEventSource implements AutoCloseable
|
||||
}
|
||||
|
||||
private static final int FAILURE_RECONNECT_DELAY_SEC = 5;
|
||||
private static final int FAILURE_RECONNECT_ATTEMPTS = 5;
|
||||
private static final int FAILURE_RECONNECT_ATTEMPTS = 3;
|
||||
|
||||
// TODO move to payload of some sort
|
||||
private final InetSocketAddress address;
|
||||
|
||||
Reference in New Issue
Block a user