From 24a5f988a3f5d206cb89a88e301e27b6b83afd75 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sat, 19 Jul 2025 15:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=80=D0=B5=D0=BF=D0=BB=D0=B8=D0=BA=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20keydb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose.yml | 3 +-- docker/keydb/keydb.conf | 6 +++--- log/redis/.gitkeep | 0 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 log/redis/.gitkeep diff --git a/compose.yml b/compose.yml index fb432f3..a2b630f 100644 --- a/compose.yml +++ b/compose.yml @@ -23,10 +23,9 @@ services: user: ${KEYDB_UID}:${KEYDB_GID} entrypoint: ["sh", "/entrypoint.sh"] volumes: - - ./docker/keydb/keydb.conf:/etc/keydb/keydb.conf - ./docker/keydb/entrypoint.sh:/entrypoint.sh + - ./docker/keydb/keydb.conf:/etc/keydb/keydb.conf - ./docker/keydb/data/:/data:rw - - ./log/keydb:/var/log/keydb/:rw ports: - ${KEYDB_PORT:-6379}:6379 diff --git a/docker/keydb/keydb.conf b/docker/keydb/keydb.conf index 39be5f5..2d03951 100644 --- a/docker/keydb/keydb.conf +++ b/docker/keydb/keydb.conf @@ -526,7 +526,7 @@ replicaof no one # UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, PUBLISH, PUBSUB, COMMAND, POST, # HOST and LATENCY. # -replica-serve-stale-data no +replica-serve-stale-data yes # Active Replicas will allow read only data access while loading remote RDBs # provided they are permitted to serve stale data. As an option you may also @@ -556,7 +556,7 @@ replica-serve-stale-data no # such as CONFIG, DEBUG, and so forth. To a limited extent you can improve # security of read only replicas using 'rename-command' to shadow all the # administrative / dangerous commands. -replica-read-only yes +replica-read-only no # Replication SYNC strategy: disk or socket. # @@ -2060,7 +2060,7 @@ server-threads 2 # Uncomment the option below to enable Active Active support. Note that # replicas will still sync in the normal way and incorrect ordering when # bringing up replicas can result in data loss (the first master will win). -# active-replica yes +active-replica no # KeyDB will attempt to balance clients across threads evenly; However, replica clients # are usually much more expensive than a normal client, and so KeyDB will try to assign diff --git a/log/redis/.gitkeep b/log/redis/.gitkeep deleted file mode 100644 index e69de29..0000000