Skip to content
Permalink
Browse files
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.
  • Loading branch information
nonbinaryprogrammer authored and nabarunnag committed Feb 15, 2019
1 parent 3156c3d commit 55dff1c19038b2b1dfffdd0fb0c3b138abbc834c
Showing 1 changed file with 1 addition and 0 deletions.
@@ -48,6 +48,7 @@ public void run(TestContext context) throws Exception {
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();

0 comments on commit 55dff1c

Please sign in to comment.