From 12f798dc18976839f3dfcb835433b6db63f8922f Mon Sep 17 00:00:00 2001 From: WuYunlong Date: Thu, 3 Sep 2020 15:31:18 +0800 Subject: [PATCH] fix wrong comments in redis.conf, change default always-show-logo (#5695) 1. default value of always-show-logo was not consistent with the default in the code 2. comment about cluster-replica-no-failover is wrong since we can only do manually failover upon replicas 3. improve description about always-show-logo --- redis.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/redis.conf b/redis.conf index 35ee752e1..8f26a8f3e 100644 --- a/redis.conf +++ b/redis.conf @@ -285,12 +285,13 @@ logfile "" databases 16 # By default Redis shows an ASCII art logo only when started to log to the -# standard output and if the standard output is a TTY. Basically this means -# that normally a logo is displayed only in interactive sessions. +# standard output and if the standard output is a TTY and syslog logging is +# disabled. Basically this means that normally a logo is displayed only in +# interactive sessions. # # However it is possible to force the pre-4.0 behavior and always show a # ASCII art logo in startup logs by setting the following option to yes. -always-show-logo yes +always-show-logo no ################################ SNAPSHOTTING ################################ # @@ -1322,7 +1323,7 @@ lua-time-limit 5000 # cluster-require-full-coverage yes # This option, when set to yes, prevents replicas from trying to failover its -# master during master failures. However the master can still perform a +# master during master failures. However the replica can still perform a # manual failover, if forced to do so. # # This is useful in different scenarios, especially in the case of multiple