diff --git a/plugins/redis/tpl/redis_slave.conf b/plugins/redis/tpl/redis_slave.conf index dfa59a4e7..dbd150c0c 100644 --- a/plugins/redis/tpl/redis_slave.conf +++ b/plugins/redis/tpl/redis_slave.conf @@ -26,7 +26,7 @@ slave-priority 100 # 填写主库信息 #slaveof 127.0.0.1 6379 -#masterauth master_pwd +#masterauth 123123 ################################## SECURITY ################################### @@ -41,9 +41,11 @@ maxmemory-policy allkeys-lru appendonly no + # appendfsync always -#appendfsync everysec +# appendfsync everysec # appendfsync no + # appendfilename "appendonly.aof" no-appendfsync-on-rewrite no