From 2984f26f978bc6fd74bb3c31a7e66b034798017a Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Mon, 27 Feb 2012 13:02:42 -0800 Subject: [PATCH] Decreased all selector timeout from 500 ms to 10 ms See #204 --- .../src/main/java/io/netty/channel/socket/nio/SelectorUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/main/java/io/netty/channel/socket/nio/SelectorUtil.java b/transport/src/main/java/io/netty/channel/socket/nio/SelectorUtil.java index 51c8bbaa8c..049559c377 100644 --- a/transport/src/main/java/io/netty/channel/socket/nio/SelectorUtil.java +++ b/transport/src/main/java/io/netty/channel/socket/nio/SelectorUtil.java @@ -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(