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