conn

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/04a4d458
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/04a4d458
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/04a4d458

Branch: refs/heads/ignite-comm-balance
Commit: 04a4d4584ecdb9e44a1107921b640aa57bcc6cbb
Parents: 3b0ffee
Author: sboikov <sboi...@gridgain.com>
Authored: Thu Sep 22 10:21:29 2016 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Thu Sep 22 10:21:29 2016 +0300

----------------------------------------------------------------------
 .../ignite/spi/communication/tcp/TcpCommunicationSpi.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/04a4d458/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
 
b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
index c131cf2..639e23d 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
@@ -315,7 +315,7 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter
     public static final long DFLT_SOCK_WRITE_TIMEOUT = 2000;
 
     /** Default connections per node. */
-    public static final int DFLT_CONN_PER_NODE = 1;
+    public static final int DFLT_CONN_PER_NODE = 2;
 
     /** No-op runnable. */
     private static final IgniteRunnable NOOP = new IgniteRunnable() {
@@ -1132,7 +1132,7 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter
     /**
      * TODO
      *
-     * @param maxConnectionsPerNode
+     * @param maxConnectionsPerNode Number of connections per node.
      */
     public void setConnectionsPerNode(int maxConnectionsPerNode) {
         this.connectionsPerNode = maxConnectionsPerNode;
@@ -1141,7 +1141,7 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter
     /**
      * TODO
      *
-     * @return
+     * @return Number of connections per node.
      */
     public int getConnectionsPerNode() {
         return connectionsPerNode;

Reply via email to