usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject usergrid git commit: Set connect timeout in Astyanax driver.
Date Sun, 27 Mar 2016 01:30:04 GMT
Repository: usergrid
Updated Branches:
  refs/heads/release-2.1.1 3ab979108 -> 9b9f83559


Set connect timeout in Astyanax driver.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/9b9f8355
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/9b9f8355
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/9b9f8355

Branch: refs/heads/release-2.1.1
Commit: 9b9f835592c6bf17eca42926639a982d5d2c7662
Parents: 3ab9791
Author: Michael Russo <mrusso@apigee.com>
Authored: Sat Mar 26 18:29:44 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Sat Mar 26 18:29:44 2016 -0700

----------------------------------------------------------------------
 .../usergrid/persistence/core/astyanax/CassandraClusterImpl.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/9b9f8355/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraClusterImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraClusterImpl.java
b/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraClusterImpl.java
index d8493cf..cd42c5b 100644
--- a/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraClusterImpl.java
+++ b/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraClusterImpl.java
@@ -182,7 +182,8 @@ public class CassandraClusterImpl implements CassandraCluster {
                 .setLocalDatacenter( cassandraFig.getLocalDataCenter() )
                 .setMaxConnsPerHost( poolSize )
                 .setSeeds( cassandraFig.getHosts() )
-                .setSocketTimeout( cassandraFig.getTimeout() );
+                .setSocketTimeout( cassandraFig.getTimeout() )
+                .setConnectTimeout( cassandraFig.getTimeout() );
         }
 
 


Mime
View raw message