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 { 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(