Fix inconsistencies between yaml and code defaults.

Patch by Alexey Zotov, reviewed by brandonwilliams for CASSANDRA-4754
This commit is contained in:
Brandon Williams 2012-10-03 13:44:45 -05:00
parent 0e0213b604
commit d170a7a99d
1 changed files with 2 additions and 2 deletions

View File

@ -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;