[ https://issues.apache.org/jira/browse/GEODE-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008238#comment-16008238 ]
ASF GitHub Bot commented on GEODE-2853: --------------------------------------- Github user kohlmu-pivotal commented on a diff in the pull request: https://github.com/apache/geode/pull/483#discussion_r116248082 --- Diff: geode-core/src/test/java/org/apache/geode/cache/client/internal/AutoConnectionSourceImplJUnitTest.java --- @@ -109,6 +110,7 @@ public void setUp() throws Exception { @After public void tearDown() { + System.clearProperty(DistributionConfig.GEMFIRE_PREFIX + "LOCATOR_UPDATE_INTERVAL"); --- End diff -- This can be replaced with `@Rule public final RestoreSystemProperties restoreSystemProperties = new RestoreSystemProperties();` > Change of locator list request interval > --------------------------------------- > > Key: GEODE-2853 > URL: https://issues.apache.org/jira/browse/GEODE-2853 > Project: Geode > Issue Type: Improvement > Components: client/server > Reporter: Masaki Yamakawa > Priority: Minor > > If you connect to a Geode cluster using a locator from the client, the > locator list request will be executed at regular intervals in the background > thread. I want to tune this interval. I understand that this interval can be > changed by the ping-interval of the Pool attribute. However, I think that > ping-interval originally sets the ping interval for health check to the cache > server. Therefore, it is not possible to change the locator list request > interval without changing the health check interval to the cache server. So,I > want to add a java system property that can change the locator list request > interval. > The locator list request interval is determined by the following priority > order. > 1. java system property "gemfire.LOCATOR_UPDATE_INTERVAL" > 2. ping-interval of the Pool attribute > In addition, when changing this time, the background thread is activated only > when this value is a positive value. -- This message was sent by Atlassian JIRA (v6.3.15#6346)