You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by li...@apache.org on 2018/05/04 15:47:21 UTC

[3/4] trafodion git commit: [TRAFODION-3041] Addressed review comment, set default cache size to 1

[TRAFODION-3041] Addressed review comment, set default cache size to 1


Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/f8c90f3b
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/f8c90f3b
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/f8c90f3b

Branch: refs/heads/master
Commit: f8c90f3b8f9551788ee87ca8f5069c70676e80e7
Parents: bffd05b
Author: Haolin.song <40...@qq.com>
Authored: Fri Apr 27 17:34:13 2018 +0000
Committer: Haolin.song <40...@qq.com>
Committed: Fri Apr 27 17:34:13 2018 +0000

----------------------------------------------------------------------
 dcs/src/main/java/org/trafodion/dcs/Constants.java | 2 +-
 dcs/src/main/resources/dcs-default.xml             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/f8c90f3b/dcs/src/main/java/org/trafodion/dcs/Constants.java
----------------------------------------------------------------------
diff --git a/dcs/src/main/java/org/trafodion/dcs/Constants.java b/dcs/src/main/java/org/trafodion/dcs/Constants.java
index ace9e69..2fda059 100644
--- a/dcs/src/main/java/org/trafodion/dcs/Constants.java
+++ b/dcs/src/main/java/org/trafodion/dcs/Constants.java
@@ -150,7 +150,7 @@ public final class Constants {
     public static final String DCS_SERVER_USER_PROGRAM_STATISTICS_CACHE_SIZE = "dcs.server.user.program.statistics.cache.size";
 
     /** Default value for DCS server user program statistics cache size */
-    public static final int DEFAULT_DCS_SERVER_USER_PROGRAM_STATISTICS_CACHE_SIZE = 60;
+    public static final int DEFAULT_DCS_SERVER_USER_PROGRAM_STATISTICS_CACHE_SIZE = 1;
 
     /** Configuration key for DCS server user program statistics interval time */
     public static final String DCS_SERVER_USER_PROGRAM_STATISTICS_INTERVAL_TIME = "dcs.server.user.program.statistics.interval.time";

http://git-wip-us.apache.org/repos/asf/trafodion/blob/f8c90f3b/dcs/src/main/resources/dcs-default.xml
----------------------------------------------------------------------
diff --git a/dcs/src/main/resources/dcs-default.xml b/dcs/src/main/resources/dcs-default.xml
index 13a6125..d16eac7 100644
--- a/dcs/src/main/resources/dcs-default.xml
+++ b/dcs/src/main/resources/dcs-default.xml
@@ -335,7 +335,7 @@
   </property>
   <property>
     <name>dcs.server.user.program.statistics.cache.size</name>
-    <value>60</value>
+    <value>1</value>
     <description>
         Size of cache data to be published.
         The default is 60.