1
0
This commit is contained in:
2023-09-13 19:37:22 +08:00
parent fe64ce505a
commit 58e3d5124c
3 changed files with 131 additions and 2924 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -84,7 +84,7 @@
# mode. # mode.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#bind 127.0.0.1 -::1 #bind 127.0.0.1 -::1
bind 127.0.0.1 bind 127.0.0.1 192.168.0.229
# Protected mode is a layer of security protection, in order to avoid that # Protected mode is a layer of security protection, in order to avoid that
# Redis instances left open on the internet are accessed and exploited. # Redis instances left open on the internet are accessed and exploited.
@@ -1803,8 +1803,10 @@ activerehashing yes
# #
# Both the hard or the soft limit can be disabled by setting them to zero. # Both the hard or the soft limit can be disabled by setting them to zero.
client-output-buffer-limit normal 0 0 0 client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60 #client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60 #client-output-buffer-limit pubsub 32mb 8mb 60
client-output-buffer-limit replica 0 0 0
client-output-buffer-limit pubsub 0 0 0
# Client query buffers accumulate new commands. They are limited to a fixed # Client query buffers accumulate new commands. They are limited to a fixed
# amount by default in order to avoid that a protocol desynchronization (for # amount by default in order to avoid that a protocol desynchronization (for
@@ -2079,3 +2081,4 @@ replica-weighting-factor 2
# disk space or any other I/O error Redis will instead use memory. # disk space or any other I/O error Redis will instead use memory.
# #
# blob-support false # blob-support false
slaveof 192.168.4.228 6379

File diff suppressed because it is too large Load Diff