From 578895d8b117ed8c95fcdd4f50da7ad7d92a93ec Mon Sep 17 00:00:00 2001 From: XIUPING ZOU Date: Mon, 29 Jul 2024 09:41:34 +0800 Subject: [PATCH] Update redis.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化内存删除策略 --- redis/data/redis.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/redis/data/redis.conf b/redis/data/redis.conf index 435344f..4dc1188 100644 --- a/redis/data/redis.conf +++ b/redis/data/redis.conf @@ -62,6 +62,7 @@ repl-disable-tcp-nodelay no replica-priority 100 maxmemory 1982000000 +maxmemory-policy allkeys-lru lazyfree-lazy-eviction no lazyfree-lazy-expire no