perf: add redis cluster mode setting

pull/15980/head
Eric 2025-08-29 15:02:39 +08:00 committed by 老广
parent 2333dbbe33
commit 6d1f26b0f8
1 changed files with 6 additions and 0 deletions

View File

@ -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')
},
}
},
}