You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nn...@apache.org on 2019/02/15 00:21:14 UTC
[geode-benchmarks] branch develop updated: GEODE-6394: set pool
idle-timeout to be infinite (#54)
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 <hb...@pivotal.io>
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();