Correctly convert to nanos. See #565
This commit is contained in:
parent
eddca7583e
commit
252b1414bf
@ -58,7 +58,7 @@ final class SelectorUtil {
|
||||
selectTimeout = DEFAULT_SELECT_TIMEOUT;
|
||||
}
|
||||
SELECT_TIMEOUT = selectTimeout;
|
||||
SELECT_TIMEOUT_NANOS = TimeUnit.MILLISECONDS.toMicros(SELECT_TIMEOUT);
|
||||
SELECT_TIMEOUT_NANOS = TimeUnit.MILLISECONDS.toNanos(SELECT_TIMEOUT);
|
||||
logger.debug("Using select timeout of " + SELECT_TIMEOUT);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user