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

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


The following commit(s) were added to refs/heads/develop by this push:
     new d5811e9  GEODE-8181: Fixes default value for 
statistic-sampling-enabled. (#602)
d5811e9 is described below

commit d5811e9c04ed0179dd9d41f38681ab2cfbd075cf
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Sat May 23 11:24:13 2020 -0700

    GEODE-8181: Fixes default value for statistic-sampling-enabled. (#602)
    
    - Default in native client was set to true, which is the opposite of Java 
client and our documentation
---
 cppcache/src/SystemProperties.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cppcache/src/SystemProperties.cpp 
b/cppcache/src/SystemProperties.cpp
index 9e86b01..3071634 100644
--- a/cppcache/src/SystemProperties.cpp
+++ b/cppcache/src/SystemProperties.cpp
@@ -88,7 +88,7 @@ constexpr auto DefaultConnectWaitTimeout = 
std::chrono::seconds::zero();
 constexpr auto DefaultBucketWaitTimeout = std::chrono::seconds::zero();
 
 constexpr auto DefaultSamplingInterval = std::chrono::seconds(1);
-const bool DefaultSamplingEnabled = true;
+constexpr bool DefaultSamplingEnabled = false;
 
 const char DefaultStatArchive[] = "statArchive.gfs";
 const char DefaultLogFilename[] = "";  // stdout...

Reply via email to