mirror of https://github.com/jumpserver/jumpserver
perf: 修改发布机选项默认值
parent
b91b9ef39e
commit
64e929a220
|
@ -5613,7 +5613,7 @@ msgstr "图标"
|
||||||
|
|
||||||
#: terminal/serializers/applet_host.py:24
|
#: terminal/serializers/applet_host.py:24
|
||||||
msgid "Per Session"
|
msgid "Per Session"
|
||||||
msgstr "每会话"
|
msgstr "每用户"
|
||||||
|
|
||||||
#: terminal/serializers/applet_host.py:25
|
#: terminal/serializers/applet_host.py:25
|
||||||
msgid "Per Device"
|
msgid "Per Device"
|
||||||
|
|
|
@ -32,7 +32,7 @@ class DeployOptionsSerializer(serializers.Serializer):
|
||||||
CORE_HOST = serializers.CharField(default=settings.SITE_URL, label=_('API Server'), max_length=1024)
|
CORE_HOST = serializers.CharField(default=settings.SITE_URL, label=_('API Server'), max_length=1024)
|
||||||
RDS_Licensing = serializers.BooleanField(default=False, label=_("RDS Licensing"))
|
RDS_Licensing = serializers.BooleanField(default=False, label=_("RDS Licensing"))
|
||||||
RDS_LicenseServer = serializers.CharField(default='127.0.0.1', label=_('RDS License Server'), max_length=1024)
|
RDS_LicenseServer = serializers.CharField(default='127.0.0.1', label=_('RDS License Server'), max_length=1024)
|
||||||
RDS_LicensingMode = serializers.ChoiceField(choices=LICENSE_MODE_CHOICES, default=4, label=_('RDS Licensing Mode'))
|
RDS_LicensingMode = serializers.ChoiceField(choices=LICENSE_MODE_CHOICES, default=2, label=_('RDS Licensing Mode'))
|
||||||
RDS_fSingleSessionPerUser = serializers.ChoiceField(choices=SESSION_PER_USER, default=1,
|
RDS_fSingleSessionPerUser = serializers.ChoiceField(choices=SESSION_PER_USER, default=1,
|
||||||
label=_("RDS Single Session Per User"))
|
label=_("RDS Single Session Per User"))
|
||||||
RDS_MaxDisconnectionTime = serializers.IntegerField(default=60000, label=_("RDS Max Disconnection Time"))
|
RDS_MaxDisconnectionTime = serializers.IntegerField(default=60000, label=_("RDS Max Disconnection Time"))
|
||||||
|
|
Loading…
Reference in New Issue