Sync the default select timeout with 3.x
This commit is contained in:
parent
d49d02ffe4
commit
a6bd91dce5
@ -27,7 +27,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
final class SelectorUtil {
|
final class SelectorUtil {
|
||||||
private static final InternalLogger logger =
|
private static final InternalLogger logger =
|
||||||
InternalLoggerFactory.getInstance(SelectorUtil.class);
|
InternalLoggerFactory.getInstance(SelectorUtil.class);
|
||||||
static final long DEFAULT_SELECT_TIMEOUT = 10;
|
static final long DEFAULT_SELECT_TIMEOUT = 500;
|
||||||
static final long SELECT_TIMEOUT =
|
static final long SELECT_TIMEOUT =
|
||||||
SystemPropertyUtil.getLong("io.netty.selectTimeout", DEFAULT_SELECT_TIMEOUT);
|
SystemPropertyUtil.getLong("io.netty.selectTimeout", DEFAULT_SELECT_TIMEOUT);
|
||||||
static final long SELECT_TIMEOUT_NANOS = TimeUnit.MILLISECONDS.toNanos(SELECT_TIMEOUT);
|
static final long SELECT_TIMEOUT_NANOS = TimeUnit.MILLISECONDS.toNanos(SELECT_TIMEOUT);
|
||||||
|
Loading…
Reference in New Issue
Block a user