forked from mirror/ledisdb
update default config
This commit is contained in:
parent
f0475b635e
commit
a0abd79328
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue