diff --git a/src/main/java/org/fogbowcloud/ssh/TunnelServer.java b/src/main/java/org/fogbowcloud/ssh/TunnelServer.java index d609575..7f4fa6f 100644 --- a/src/main/java/org/fogbowcloud/ssh/TunnelServer.java +++ b/src/main/java/org/fogbowcloud/ssh/TunnelServer.java @@ -158,6 +158,7 @@ public String getName() { sshServer.setUserAuthFactories(userAuthenticators); sshServer.setHost(sshTunnelHost == null ? "0.0.0.0" : sshTunnelHost); sshServer.setPort(sshTunnelPort); + sshServer.setNioWorkers(7); executor.scheduleWithFixedDelay(new Runnable() { @Override public void run() {