diff options
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index 62062b397..7635c14b4 100644 --- a/redis.conf +++ b/redis.conf @@ -1527,6 +1527,22 @@ aof-timestamp-enabled no # # shutdown-timeout 10 +# When Redis receives a SIGINT or SIGTERM, shutdown is initiated and by default +# an RDB snapshot is written to disk in a blocking operation if save points are configured. +# The options used on signaled shutdown can include the following values: +# default: Saves RDB snapshot only if save points are configured. +# Waits for lagging replicas to catch up. +# save: Forces a DB saving operation even if no save points are configured. +# nosave: Prevents DB saving operation even if one or more save points are configured. +# now: Skips waiting for lagging replicas. +# force: Ignores any errors that would normally prevent the server from exiting. +# +# Any combination of values is allowed as long as "save" and "nosave" are not set simultaneously. +# Example: "nosave force now" +# +# shutdown-on-sigint default +# shutdown-on-sigterm default + ################ NON-DETERMINISTIC LONG BLOCKING COMMANDS ##################### # Maximum time in milliseconds for EVAL scripts, functions and in some cases |