Decreased all selector timeout from 500 ms to 10 ms

See #204
This commit is contained in:
Trustin Lee 2012-02-27 13:02:42 -08:00
parent 4612568687
commit 2984f26f97

View File

@ -30,7 +30,7 @@ final class SelectorUtil {
static void select(Selector selector) throws IOException {
try {
selector.select(500);
selector.select(10);
} catch (CancelledKeyException e) {
if (logger.isDebugEnabled()) {
logger.debug(