This commit is contained in:
地平线
2015-11-05 11:41:59 +08:00
parent fc8109cc6e
commit e48d048605

View File

@@ -148,7 +148,7 @@ public final class Transport {
if (channel == null) channel = AsynchronousSocketChannel.open(group);
try {
channel.connect(addr).get(1, TimeUnit.SECONDS);
channel.connect(addr).get(2, TimeUnit.SECONDS);
break;
} catch (Exception iex) {
iex.printStackTrace();