From 2251f218d80e56a8ce76e9511b2259d0a1fd267e Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Fri, 8 Nov 2024 06:32:48 +0800 Subject: [PATCH] chore: add persistence configuration to redis --- .docker/services/redis/redis.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.docker/services/redis/redis.conf b/.docker/services/redis/redis.conf index c7115b6..b067b4c 100644 --- a/.docker/services/redis/redis.conf +++ b/.docker/services/redis/redis.conf @@ -1,3 +1,7 @@ unixsocket /run/redis-socket/redis.sock unixsocketperm 777 -port 0 \ No newline at end of file +port 0 + +save 900 1 +save 300 10 +save 60 10000