From bbddc0462a91f3d128f482a42ffac9ea301d0d7d Mon Sep 17 00:00:00 2001 From: KanariKanaru <93921745+kanarikanaru@users.noreply.github.com> Date: Wed, 14 Aug 2024 05:14:27 +0900 Subject: [PATCH] Fix: DragonflyDB error during note import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Production環境はこれをPushしても治らないので注意 --- .devcontainer/compose.yml | 2 +- compose.local-db.yml | 2 +- compose_example.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/compose.yml b/.devcontainer/compose.yml index 98bf43262665..1805ff2fb698 100644 --- a/.devcontainer/compose.yml +++ b/.devcontainer/compose.yml @@ -17,7 +17,7 @@ services: redis: restart: unless-stopped image: 'docker.dragonflydb.io/dragonflydb/dragonfly' - command: ['--default_lua_flags=allow-undeclared-keys,disable-atomicity'] + command: ['--default_lua_flags=allow-undeclared-keys','--lock_on_hashtags'] networks: - internal_network ulimits: diff --git a/compose.local-db.yml b/compose.local-db.yml index 2e69bb316df2..961e77349f0e 100644 --- a/compose.local-db.yml +++ b/compose.local-db.yml @@ -6,7 +6,7 @@ services: image: 'docker.dragonflydb.io/dragonflydb/dragonfly' ports: - "6379:6379" - command: ['--default_lua_flags=allow-undeclared-keys,disable-atomicity'] + command: ['--default_lua_flags=allow-undeclared-keys','--lock_on_hashtags'] ulimits: memlock: -1 volumes: diff --git a/compose_example.yml b/compose_example.yml index 8634eb580c07..70630cec0b59 100644 --- a/compose_example.yml +++ b/compose_example.yml @@ -26,7 +26,7 @@ services: redis: restart: always image: 'docker.dragonflydb.io/dragonflydb/dragonfly' - command: ['--default_lua_flags=allow-undeclared-keys,disable-atomicity'] + command: ['--default_lua_flags=allow-undeclared-keys','--lock_on_hashtags'] networks: - internal_network ulimits: