mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-08 04:19:03 +00:00
perf: add connection options for mongodb
This commit is contained in:
parent
2f7391efc3
commit
d14d8869ac
@ -208,6 +208,12 @@ class Protocol(ChoicesMixin, models.TextChoices):
|
|||||||
'default': 'admin',
|
'default': 'admin',
|
||||||
'label': _('Auth source'),
|
'label': _('Auth source'),
|
||||||
'help_text': _('The database to authenticate against')
|
'help_text': _('The database to authenticate against')
|
||||||
|
},
|
||||||
|
'connection_options': {
|
||||||
|
'type': 'str',
|
||||||
|
'default': '',
|
||||||
|
'label': _('Connection options'),
|
||||||
|
'help_text': _('The connection specific options eg. retryWrites=false&retryReads=false')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user