From 787b3e8cf32927e248fe1806b2b0f188529de8a2 Mon Sep 17 00:00:00 2001 From: Sean Hamlin Date: Mon, 30 Sep 2024 12:48:58 +1300 Subject: [PATCH 1/2] Increase default Redis maxmemory to be higher than 100MiB. Fixes #945. --- images/redis/conf/redis.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/redis/conf/redis.conf b/images/redis/conf/redis.conf index 7ad025dcc..60ac95525 100644 --- a/images/redis/conf/redis.conf +++ b/images/redis/conf/redis.conf @@ -1,10 +1,10 @@ -# Redis 4.0 configuration file for non-persistent cache -# see https://raw.githubusercontent.com/antirez/redis/4.0/redis.conf for all possible configs. +# Redis configuration file for non-persistent cache +# see https://raw.githubusercontent.com/antirez/redis/6.0/redis.conf for all possible configs. loglevel ${LOGLEVEL:-notice} databases ${DATABASES:-1} -maxmemory ${MAXMEMORY:-100mb} +maxmemory ${MAXMEMORY:-400mb} maxmemory-policy ${MAXMEMORYPOLICY:-allkeys-lru} # allow other hosts to connect to us From 9b2053d610d69d681a3e93d0d916224387b48ca3 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Mon, 30 Sep 2024 09:57:34 +1000 Subject: [PATCH 2/2] Update images/redis/conf/redis.conf --- images/redis/conf/redis.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/redis/conf/redis.conf b/images/redis/conf/redis.conf index 60ac95525..b6b7d44fe 100644 --- a/images/redis/conf/redis.conf +++ b/images/redis/conf/redis.conf @@ -1,5 +1,5 @@ # Redis configuration file for non-persistent cache -# see https://raw.githubusercontent.com/antirez/redis/6.0/redis.conf for all possible configs. +# see https://raw.githubusercontent.com/redis/redis/refs/tags/7.2.5/redis.conf for all possible configs. loglevel ${LOGLEVEL:-notice} databases ${DATABASES:-1}