提交 cab66d7e 编写于 作者: E Enrico Giordani

[Sample] Removed the maxheap flag from the configuration samples.

上级 eb08a103
maxheap 50M
timeout 0
tcp-keepalive 0
loglevel notice
......
port 6379
dbfilename master.rdb
maxheap 1GB
include base.conf
# By default the redis heap size is set equal to physical memory. It also allocates
# a file equal to the size of the heap. Sentinels do not need much heap to work.
maxheap 20MB
port 20001
sentinel monitor mymaster 127.0.0.1 6379 2
sentinel down-after-milliseconds mymaster 5000
......
# By default the redis heap size is set equal to physical memory. It also allocates
# a file equal to the size of the heap. Sentinels do not need much heap to work.
maxheap 20MB
port 20002
sentinel monitor mymaster 127.0.0.1 6379 2
sentinel down-after-milliseconds mymaster 5000
......
# By default the redis heap size is set equal to physical memory. It also allocates
# a file equal to the size of the heap. Sentinels do not need much heap to work.
maxheap 20MB
port 20003
sentinel monitor mymaster 127.0.0.1 6379 2
sentinel down-after-milliseconds mymaster 5000
......
maxheap 1GB
slaveof 127.0.0.1 6379
slave-serve-stale-data yes
slave-read-only yes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册