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 { static void select(Selector selector) throws IOException {
try { try {
selector.select(500); selector.select(10);
} catch (CancelledKeyException e) { } catch (CancelledKeyException e) {
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug( logger.debug(