Created
September 24, 2021 18:48
-
-
Save imcitius/0d9852716662d204d1c5180e79c4b554 to your computer and use it in GitHub Desktop.
redis-master.conf
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
daemonize no | |
pidfile "/var/run/redis/redis.pid" | |
port 6379 | |
tcp-backlog 511 | |
bind 192.168.127.132 127.0.0.1 | |
timeout 0 | |
tcp-keepalive 0 | |
loglevel notice | |
logfile "/var/log/redis/redis.log" | |
databases 16 | |
save 300 2000 | |
save 60 3000 | |
save 900 1000 | |
stop-writes-on-bgsave-error yes | |
rdbcompression yes | |
rdbchecksum yes | |
dbfilename "dump.rdb" | |
dir "/var/lib/redis" | |
replica-serve-stale-data yes | |
replica-read-only yes | |
repl-diskless-sync no | |
repl-diskless-sync-delay 5 | |
repl-disable-tcp-nodelay no | |
replica-priority 100 | |
appendonly yes | |
appendfilename "appendonly.aof" | |
appendfsync no | |
no-appendfsync-on-rewrite yes | |
aof-rewrite-incremental-fsync yes | |
auto-aof-rewrite-percentage 100 | |
auto-aof-rewrite-min-size 64mb | |
aof-load-truncated yes | |
lua-time-limit 5000 | |
slowlog-log-slower-than 10000 | |
slowlog-max-len 128 | |
latency-monitor-threshold 0 | |
notify-keyspace-events "" | |
hash-max-ziplist-entries 512 | |
hash-max-ziplist-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 | |
hll-sparse-max-bytes 3000 | |
activerehashing yes | |
client-output-buffer-limit normal 0 0 0 | |
client-output-buffer-limit replica 256mb 64mb 60 | |
client-output-buffer-limit pubsub 32mb 8mb 60 | |
hz 10 | |
dynamic-hz yes | |
# Generated by CONFIG REWRITE | |
supervised systemd | |
user default on nopass ~* +@all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment