From 6d1f26b0f86abae8403ea5010ff6cd3d0748b543 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 29 Aug 2025 15:02:39 +0800 Subject: [PATCH] perf: add redis cluster mode setting --- apps/assets/const/protocol.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/assets/const/protocol.py b/apps/assets/const/protocol.py index aec405e60..eb333ffb4 100644 --- a/apps/assets/const/protocol.py +++ b/apps/assets/const/protocol.py @@ -250,6 +250,12 @@ class Protocol(ChoicesMixin, models.TextChoices): 'default': False, 'label': _('Auth username') }, + 'enable_cluster_mode': { + 'type': 'bool', + 'default': False, + 'label': _('Enable cluster mode'), + 'help_text': _('Enable if this Redis instance is part of a cluster') + }, } }, }