summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-04-24 10:57:07 +0200
committerantirez <antirez@gmail.com>2013-04-24 10:57:07 +0200
commitd264122f6af7082755efa624e36ad199851d1c7f (patch)
tree326950000dc05621ae048b9d0b665be008764afe /redis.conf
parent336d722fbaa6beb3ef65a7a7df8bbda73dcc9fe9 (diff)
downloadredis-d264122f6af7082755efa624e36ad199851d1c7f.tar.gz
Config option to turn AOF rewrite incremental fsync on/off.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index 9bcb130de..fc2e927ae 100644
--- a/redis.conf
+++ b/redis.conf
@@ -673,6 +673,12 @@ client-output-buffer-limit pubsub 32mb 8mb 60
# 100 only in environments where very low latency is required.
hz 10
+# When a child rewrites the AOF file, if the following option is enabled
+# the file will be fsync-ed every 32 MB of data generated. This is useful
+# in order to commit the file to the disk more incrementally and avoid
+# big latency spikes.
+aof-rewrite-incremental-fsync yes
+
################################## INCLUDES ###################################
# Include one or more other config files here. This is useful if you