You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2012/10/03 20:47:02 UTC
[3/3] git commit: Fix inconsistencies between yaml and code defaults.
Patch by Alexey Zotov, reviewed by brandonwilliams for CASSANDRA-4754
Fix inconsistencies between yaml and code defaults.
Patch by Alexey Zotov, reviewed by brandonwilliams for CASSANDRA-4754
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d170a7a9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d170a7a9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d170a7a9
Branch: refs/heads/cassandra-1.1
Commit: d170a7a99dfc04499e8bb8cbca0fc4e14aa1fc26
Parents: 0e0213b
Author: Brandon Williams <br...@apache.org>
Authored: Wed Oct 3 13:44:45 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Wed Oct 3 13:44:45 2012 -0500
----------------------------------------------------------------------
src/java/org/apache/cassandra/config/Config.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/d170a7a9/src/java/org/apache/cassandra/config/Config.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java
index f749db6..dc16622 100644
--- a/src/java/org/apache/cassandra/config/Config.java
+++ b/src/java/org/apache/cassandra/config/Config.java
@@ -34,7 +34,7 @@ public class Config
public Boolean auto_bootstrap = true;
public Boolean hinted_handoff_enabled = true;
- public Integer max_hint_window_in_ms = Integer.MAX_VALUE;
+ public Integer max_hint_window_in_ms = 3600 * 1000; // one hour
public SeedProviderDef seed_provider;
public DiskAccessMode disk_access_mode = DiskAccessMode.auto;
@@ -82,7 +82,7 @@ public class Config
/* if the size of columns or super-columns are more than this, indexing will kick in */
public Integer column_index_size_in_kb = 64;
- public Integer in_memory_compaction_limit_in_mb = 256;
+ public Integer in_memory_compaction_limit_in_mb = 64;
public Integer concurrent_compactors = Runtime.getRuntime().availableProcessors();
public Integer compaction_throughput_mb_per_sec = 16;
public Boolean multithreaded_compaction = false;