Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify & daemonize redis server conf
- Loading branch information
Showing
1 changed file
with
1 addition
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,5 @@ | ||
daemonize no | ||
daemonize yes | ||
pidfile ./conf/redis.pid | ||
port 6379 | ||
timeout 300 | ||
loglevel verbose | ||
logfile stdout | ||
databases 16 | ||
save 900 1 | ||
save 300 10 | ||
save 60 10000 | ||
rdbcompression yes | ||
dbfilename dump.rdb | ||
dir ./conf | ||
slave-serve-stale-data yes | ||
appendonly no | ||
appendfsync everysec | ||
no-appendfsync-on-rewrite no | ||
auto-aof-rewrite-percentage 100 | ||
auto-aof-rewrite-min-size 64mb | ||
lua-time-limit 60000 | ||
slowlog-log-slower-than 10000 | ||
slowlog-max-len 1024 | ||
hash-max-zipmap-entries 512 | ||
hash-max-zipmap-value 64 | ||
list-max-ziplist-entries 512 | ||
list-max-ziplist-value 64 | ||
set-max-intset-entries 512 | ||
zset-max-ziplist-entries 128 | ||
zset-max-ziplist-value 64 | ||
activerehashing yes |