From d776966cf79309d9a5d534e53463b5759eb2911f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E4=BA=BA=E5=9C=A8=E5=AE=B6=E8=AF=B7=E6=8C=89?= =?UTF-8?q?=E9=97=A8=E9=93=83?= <50700061+GAted0@users.noreply.github.com> Date: Sun, 24 Mar 2024 23:42:22 +0800 Subject: [PATCH] Update redis.conf --- redis/conf/redis.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/conf/redis.conf b/redis/conf/redis.conf index a4451b1..2d7a6d9 100644 --- a/redis/conf/redis.conf +++ b/redis/conf/redis.conf @@ -28,7 +28,7 @@ appendonly yes appendfilename "appendonly.aof" # AOF 同步方式 -appendfsync 5 +appendfsync everysec # 如果要禁用 AOF 持久化(不推荐生产环境中使用),可以设置如下: # appendonly no