Decreased all selector timeout from 500 ms to 10 ms

See #204
This commit is contained in:
Trustin Lee 2012-02-27 13:01:51 -08:00
parent 714ec984dd
commit 1bc988f17c

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(