From bdd3a5f1b9a28eb7cb18297584955f3f50dec2f4 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Wed, 9 Aug 2023 22:13:45 +0200 Subject: [PATCH] Fix redis config. --- etc/redis.conf | 33 +++++++++++++++++++++++++++++++++ redis.conf | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 redis.conf diff --git a/etc/redis.conf b/etc/redis.conf index e69de29..863fed5 100644 --- a/etc/redis.conf +++ b/etc/redis.conf @@ -0,0 +1,33 @@ +# One-Time Secret Redis Config +# 2014-12-03 + +dbfilename onetime.rdb +appendfilename onetime.aof + +#requirepass CHANGEME + +bind 127.0.0.1 +port 6379 +databases 16 + +timeout 30 +daemonize yes +loglevel notice + +# FOR LIGHT TRAFFIC: +save 300 10 +#save 120 100 +#save 60 1000 + +# NOTE: we need something here to force redis to save +# when it receives a SHUTDOWN command. 157680000 is 5 yrs. +# REMOVE IT ONLY IF YOU PLAN TO ALWAYS MOVE +# AN RDB FILE INTO PLACE EVERY RESTART! +#save 157680000 1 + +rdbcompression yes + +appendonly yes + +# appendfsync is one of always, everysec, no +appendfsync everysec diff --git a/redis.conf b/redis.conf deleted file mode 100644 index 863fed5..0000000 --- a/redis.conf +++ /dev/null @@ -1,33 +0,0 @@ -# One-Time Secret Redis Config -# 2014-12-03 - -dbfilename onetime.rdb -appendfilename onetime.aof - -#requirepass CHANGEME - -bind 127.0.0.1 -port 6379 -databases 16 - -timeout 30 -daemonize yes -loglevel notice - -# FOR LIGHT TRAFFIC: -save 300 10 -#save 120 100 -#save 60 1000 - -# NOTE: we need something here to force redis to save -# when it receives a SHUTDOWN command. 157680000 is 5 yrs. -# REMOVE IT ONLY IF YOU PLAN TO ALWAYS MOVE -# AN RDB FILE INTO PLACE EVERY RESTART! -#save 157680000 1 - -rdbcompression yes - -appendonly yes - -# appendfsync is one of always, everysec, no -appendfsync everysec