From 7adc599b053399444ea1d500b1849a72eb95bf05 Mon Sep 17 00:00:00 2001 From: badrogger Date: Fri, 8 Apr 2022 14:11:04 +0000 Subject: [PATCH] Set memory limit in redis --- redis.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redis.conf b/redis.conf index c38c1c84..6e9fa27c 100644 --- a/redis.conf +++ b/redis.conf @@ -49,6 +49,9 @@ replica-priority 100 acllog-max-len 128 +maxmemory 52428800 +maxmemory-policy allkeys-lru + lazyfree-lazy-eviction no lazyfree-lazy-expire no lazyfree-lazy-server-del no