Skip to content

Commit

Permalink
Alteração do nioWorkers para o valor 7. Melhoria de desempenho do
Browse files Browse the repository at this point in the history
reverse tunnel
  • Loading branch information
gustavorag committed Dec 14, 2015
1 parent e9943a4 commit 89026fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/fogbowcloud/ssh/TunnelServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 89026fe

Please sign in to comment.