summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-12-19 10:18:45 +0100
committerantirez <antirez@gmail.com>2013-12-19 10:18:45 +0100
commit6d184e02be362d2c4e5ac56d4fdc6dbf9acbda0b (patch)
tree170935134ab55fe994df574fba24d6fafe0aecd5 /redis.conf
parent7a666ac4194997363f6098996ddda141e78e315a (diff)
downloadredis-6d184e02be362d2c4e5ac56d4fdc6dbf9acbda0b.tar.gz
Example redis.conf formatted to better show appendfilename option.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf
index 0a79591b5..86ff1dac6 100644
--- a/redis.conf
+++ b/redis.conf
@@ -420,7 +420,8 @@ slave-priority 100
appendonly no
# The name of the append only file (default: "appendonly.aof")
-# appendfilename appendonly.aof
+
+appendfilename "appendonly.aof"
# The fsync() call tells the Operating System to actually write data on disk
# instead to wait for more data in the output buffer. Some OS will really flush
@@ -467,6 +468,7 @@ appendfsync everysec
#
# If you have latency problems turn this to "yes". Otherwise leave it as
# "no" that is the safest pick from the point of view of durability.
+
no-appendfsync-on-rewrite no
# Automatic rewrite of the append only file.