From e8eda79a1a49d3de143bb1a97003621bee7c3f23 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 22 May 2024 02:54:06 +0800 Subject: [PATCH] Update redis.conf --- plugins/redis/config/redis.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/redis/config/redis.conf b/plugins/redis/config/redis.conf index 41d377a68..2d019c97c 100644 --- a/plugins/redis/config/redis.conf +++ b/plugins/redis/config/redis.conf @@ -45,11 +45,15 @@ maxmemory-policy volatile-ttl ############################## APPEND ONLY MODE ############################### -#appendonly no +# appendonly no + # appendfsync always -#appendfsync everysec +# 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