You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
530 B
37 lines
530 B
|
16 years ago
|
##
|
||
|
|
## redis.conf -- Redis server configuration
|
||
|
|
##
|
||
|
|
|
||
|
|
daemonize yes
|
||
|
|
pidfile @l_prefix@/var/redis/run/redis.pid
|
||
|
|
|
||
|
|
bind 127.0.0.1
|
||
|
|
port 6379
|
||
|
|
timeout 300
|
||
|
|
|
||
|
|
loglevel notice
|
||
|
|
logfile @l_prefix@/var/redis/log/redis.log
|
||
|
|
|
||
|
|
databases 16
|
||
|
|
|
||
|
|
save 900 1
|
||
|
|
save 300 10
|
||
|
|
save 60 10000
|
||
|
|
|
||
|
|
rdbcompression yes
|
||
|
|
dbfilename dump.rdb
|
||
|
|
dir @l_prefix@/var/redis/db/
|
||
|
|
|
||
|
|
requirepass my-secret
|
||
|
|
#slaveof 127.0.0.2 6379
|
||
|
|
#masterauth remote-secret
|
||
|
|
|
||
|
|
maxclients 128
|
||
|
|
maxmemory 10485760
|
||
|
|
appendonly no
|
||
|
|
appendfsync always
|
||
|
|
glueoutputbuf yes
|
||
|
|
shareobjects no
|
||
|
|
shareobjectspoolsize 1024
|
||
|
|
|