|
|
@ -26,7 +26,7 @@ slave-priority 100 |
|
|
|
|
|
|
|
|
|
|
|
# 填写主库信息 |
|
|
|
# 填写主库信息 |
|
|
|
#slaveof 127.0.0.1 6379 |
|
|
|
#slaveof 127.0.0.1 6379 |
|
|
|
#masterauth master_pwd |
|
|
|
#masterauth 123123 |
|
|
|
|
|
|
|
|
|
|
|
################################## SECURITY ################################### |
|
|
|
################################## SECURITY ################################### |
|
|
|
|
|
|
|
|
|
|
@ -41,9 +41,11 @@ maxmemory-policy allkeys-lru |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appendonly no |
|
|
|
appendonly no |
|
|
|
|
|
|
|
|
|
|
|
# appendfsync always |
|
|
|
# appendfsync always |
|
|
|
#appendfsync everysec |
|
|
|
# appendfsync everysec |
|
|
|
# appendfsync no |
|
|
|
# appendfsync no |
|
|
|
|
|
|
|
|
|
|
|
# appendfilename "appendonly.aof" |
|
|
|
# appendfilename "appendonly.aof" |
|
|
|
no-appendfsync-on-rewrite no |
|
|
|
no-appendfsync-on-rewrite no |
|
|
|
|
|
|
|
|
|
|
|