diff --git a/plugins/redis/tpl/redis_slave.conf b/plugins/redis/tpl/redis_slave.conf index 63b3fd16c..7f031ffc3 100644 --- a/plugins/redis/tpl/redis_slave.conf +++ b/plugins/redis/tpl/redis_slave.conf @@ -14,9 +14,7 @@ requirepass {$REDIS_PASS} ################################ SNAPSHOTTING ################################# -save 900 1 -save 300 10 -save 60 10000 +save "" stop-writes-on-bgsave-error yes rdbcompression yes rdbchecksum yes @@ -42,8 +40,7 @@ slave-priority 100 maxclients 10000 #maxmemory-samples 3 maxmemory 218mb -maxmemory-policy volatile-ttl -#maxmemory-policy allkeys-lru +maxmemory-policy allkeys-lru ############################## APPEND ONLY MODE ############################### @@ -52,7 +49,8 @@ appendonly no # appendfsync always #appendfsync everysec # appendfsync no -#no-appendfsync-on-rewrite no +# appendfilename "appendonly.aof" +no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb @@ -80,7 +78,7 @@ set-max-intset-entries 512 zset-max-ziplist-entries 128 zset-max-ziplist-value 64 -activerehashing yes +activerehashing no client-output-buffer-limit normal 0 0 0 client-output-buffer-limit slave 256mb 64mb 60