Fix redis config.
parent
be5d002491
commit
bdd3a5f1b9
|
@ -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
|
33
redis.conf
33
redis.conf
|
@ -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
|
|
Loading…
Reference in New Issue