34 lines
580 B
Plaintext
34 lines
580 B
Plaintext
|
# 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
|