From 5c3e1fdd6a8a96ddab715ef522d099340244b71d Mon Sep 17 00:00:00 2001 From: GooeyTuxedo Date: Tue, 18 Apr 2023 17:02:29 -0700 Subject: [PATCH] save to disk every 5 minutes --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 164052e..153d4d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,11 +7,11 @@ services: restart: always volumes: - redisdb:/data - command: redis-server --save 900 1 --appendonly yes + command: redis-server --save 300 1 --appendonly yes environment: - REDIS_REPLICATION_MODE=master - REDIS_APPENDONLY=yes - - REDIS_SAVE=900 1 + - REDIS_SAVE=300 1 gwei-alert-bot: depends_on: - gwei-bot-redis