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

nnag pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new 55dff1c  GEODE-6394: set pool idle-timeout to be infinite (#54)
55dff1c is described below

commit 55dff1c19038b2b1dfffdd0fb0c3b138abbc834c
Author: Helena Bales <[email protected]>
AuthorDate: Thu Feb 14 16:21:10 2019 -0800

    GEODE-6394: set pool idle-timeout to be infinite (#54)
    
    The client was dropping connections to the server when it shouldn't
    have. Setting the pool's idle-timeout from the default of 5 seconds to
    have no limit resolved this issue.
---
 .../src/main/java/org/apache/geode/benchmark/tasks/StartClient.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
 
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
index 13d20f4..5f3fb50 100644
--- 
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
+++ 
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
@@ -48,6 +48,7 @@ public class StartClient implements Task {
     ClientCache clientCache = new 
ClientCacheFactory(GeodeProperties.clientProperties())
         .setPdxSerializer(new 
ReflectionBasedAutoSerializer("benchmark.geode.data.*"))
         .addPoolLocator(locator.getHostAddress(), locatorPort)
+        .setPoolIdleTimeout(-1)
         .set(ConfigurationProperties.STATISTIC_ARCHIVE_FILE, statsFile)
         .create();
 

Reply via email to