You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/04/06 18:51:10 UTC

[airavata] branch staging updated: Bringing back sessions per connection = 10

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 1ec7d99  Bringing back sessions per connection = 10
1ec7d99 is described below

commit 1ec7d99f41ba52aee00ccf2dd9c3a69184ef69df
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Sat Apr 6 14:51:02 2019 -0400

    Bringing back sessions per connection = 10
---
 .../main/java/org/apache/airavata/helix/adaptor/PoolingSSHJClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/PoolingSSHJClient.java b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/PoolingSSHJClient.java
index 6c42953..27ee4d6 100644
--- a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/PoolingSSHJClient.java
+++ b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/PoolingSSHJClient.java
@@ -63,7 +63,7 @@ public class PoolingSSHJClient extends SSHClient {
     private String host;
     private int port;
 
-    private int maxSessionsForConnection = 1;
+    private int maxSessionsForConnection = 10;
     private long maxConnectionIdleTimeMS = 10 * 60 * 1000;
 
     public void addHostKeyVerifier(HostKeyVerifier verifier) {