update default config

This commit is contained in:
siddontang 2014-11-10 14:13:07 +08:00
parent f0475b635e
commit a0abd79328
1 changed files with 7 additions and 0 deletions

View File

@ -121,9 +121,16 @@ wait_sync_time = 500
# If 0, wait (n + 1) / 2 acks. # If 0, wait (n + 1) / 2 acks.
wait_max_slave_acks = 2 wait_max_slave_acks = 2
# store name: file, goleveldb
# change in runtime is very dangerous
store_name = "file"
# Expire write ahead logs after the given days # Expire write ahead logs after the given days
expired_log_days = 7 expired_log_days = 7
# for file store, if 0, use default 1G, max is 4G
max_log_file_size = 0
# Sync log to disk if possible # Sync log to disk if possible
# 0: no sync # 0: no sync
# 1: sync every second # 1: sync every second