mirror of https://github.com/jumpserver/jumpserver
perf: add connection options for mongodb
parent
2f7391efc3
commit
d14d8869ac
|
@ -208,6 +208,12 @@ class Protocol(ChoicesMixin, models.TextChoices):
|
|||
'default': 'admin',
|
||||
'label': _('Auth source'),
|
||||
'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