From a0abd793282392aeceeb0632e3257b75466918a2 Mon Sep 17 00:00:00 2001 From: siddontang Date: Mon, 10 Nov 2014 14:13:07 +0800 Subject: [PATCH] update default config --- etc/ledis.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/ledis.conf b/etc/ledis.conf index f75c784..f121543 100644 --- a/etc/ledis.conf +++ b/etc/ledis.conf @@ -121,9 +121,16 @@ wait_sync_time = 500 # If 0, wait (n + 1) / 2 acks. 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 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 # 0: no sync # 1: sync every second