From 3b9a97984a85e342cc11459a5a75b2cf80d79c08 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 27 Oct 2014 10:42:49 +0100 Subject: [PATCH] Document repl-diskless-sync-delay in redis.conf. --- redis.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/redis.conf b/redis.conf index f74d6f51..81dcf5a8 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.