From 363261e42fc610572a56261d095f1f99329153e7 Mon Sep 17 00:00:00 2001 From: wangbo Date: Wed, 12 Nov 2025 09:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4redis=E5=86=85=E5=AD=98?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redis.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/redis.conf b/redis.conf index bba29f2..b97dbc4 100755 --- a/redis.conf +++ b/redis.conf @@ -31,9 +31,6 @@ tcp-backlog 511 # no:副本实例可以进行写操作,这在某些场景下可以分担主实例的压力,但需要谨慎使用以避免数据不一致 replica-read-only no - -maxmemory 1gb - # 设置Redis最大内存达到时的数据淘汰策略 # noeviction:当内存达到最大限制时,Redis不会自动删除任何键,这可能导致进一步的操作失败,直到手动干预 # 当内存不足时,删除最近最少使用的键 # maxmemory-policy allkeys-lru