diff options
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index 8bac2afb5..7289277cf 100644 --- a/redis.conf +++ b/redis.conf @@ -1442,6 +1442,20 @@ aof-use-rdb-preamble yes # the AOF format in a way that may not be compatible with existing AOF parsers. aof-timestamp-enabled no +################################ SHUTDOWN ##################################### + +# Maximum time to wait for replicas when shutting down, in seconds. +# +# During shut down, a grace period allows any lagging replicas to catch up with +# the latest replication offset before the master exists. This period can +# prevent data loss, especially for deployments without configured disk backups. +# +# The 'shutdown-timeout' value is the grace period's duration in seconds. It is +# only applicable when the instance has replicas. To disable the feature, set +# the value to 0. +# +# shutdown-timeout 10 + ################################ LUA SCRIPTING ############################### # Max execution time of a Lua script in milliseconds. |