Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BusyJay committed Nov 24, 2016
1 parent 92f6cc9 commit fb7689c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/tikv-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ fn build_cfg(matches: &Matches, config: &toml::Value, cluster_id: u64, addr: &st
cfg.raft_store.region_compact_delete_keys_count =
get_toml_int(config,
"raftstore.region-compact-delete-keys-count",
Some(200_000)) as u64;
Some(1_000_000)) as u64;

cfg.raft_store.lock_cf_compact_interval_secs =
get_toml_int(config,
Expand Down
2 changes: 1 addition & 1 deletion src/raftstore/store/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const REGION_SPLIT_SIZE: u64 = 64 * 1024 * 1024;
const REGION_MAX_SIZE: u64 = 80 * 1024 * 1024;
const REGION_CHECK_DIFF: u64 = 8 * 1024 * 1024;
const REGION_COMPACT_CHECK_TICK_INTERVAL: u64 = 300;
const REGION_COMPACT_DELETE_KEYS_COUNT: u64 = 200_000;
const REGION_COMPACT_DELETE_KEYS_COUNT: u64 = 1_000_000;
const PD_HEARTBEAT_TICK_INTERVAL_MS: u64 = 5000;
const PD_STORE_HEARTBEAT_TICK_INTERVAL_MS: u64 = 10000;
const STORE_CAPACITY: u64 = u64::MAX;
Expand Down

0 comments on commit fb7689c

Please sign in to comment.