summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-10-27 10:42:49 +0100
committerantirez <antirez@gmail.com>2014-10-27 10:42:49 +0100
commit3b9a97984a85e342cc11459a5a75b2cf80d79c08 (patch)
treef54e807a177477d2f74b721929e8b88dbcf9d9bd /redis.conf
parent707352439c317dd2151d02606de25d2d2a147a67 (diff)
downloadredis-3b9a97984a85e342cc11459a5a75b2cf80d79c08.tar.gz
Document repl-diskless-sync-delay in redis.conf.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index f74d6f512..81dcf5a86 100644
--- a/redis.conf
+++ b/redis.conf
@@ -267,6 +267,18 @@ slave-read-only yes
# works better.
repl-diskless-sync no
+# When diskless replication is enabled, it is possible to configure the delay
+# the server waits in order to spawn the child that trnasfers the RDB via socket
+# to the slaves.
+#
+# This is important since once the transfer starts, it is not possible to serve
+# new slaves arriving, that will be queued for the next RDB transfer, so the server
+# waits a delay in order to let more slaves arrive.
+#
+# The delay is specified in seconds, and by default is 5 seconds. To disable
+# it entirely just set it to 0 seconds and the transfer will start ASAP.
+repl-diskless-sync-delay 5
+
# Slaves send PINGs to server in a predefined interval. It's possible to change
# this interval with the repl_ping_slave_period option. The default value is 10
# seconds.