Fix redis config.

main
Icedream 2023-08-09 22:13:45 +02:00
parent be5d002491
commit bdd3a5f1b9
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
2 changed files with 33 additions and 33 deletions

View File

@ -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

View File

@ -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