Merge pull request #9660 from jumpserver/pr@dev@perf_applethost

perf: 修改发布机选项默认值
pull/9673/head
Eric_Lee 2023-02-21 20:14:08 +08:00 committed by GitHub
commit a11eac7c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5617,7 +5617,7 @@ msgstr "图标"
#: terminal/serializers/applet_host.py:24
msgid "Per Session"
msgstr "每会话"
msgstr "每用户"
#: terminal/serializers/applet_host.py:25
msgid "Per Device"

View File

@ -32,7 +32,7 @@ class DeployOptionsSerializer(serializers.Serializer):
CORE_HOST = serializers.CharField(default=settings.SITE_URL, label=_('API Server'), max_length=1024)
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_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,
label=_("RDS Single Session Per User"))
RDS_MaxDisconnectionTime = serializers.IntegerField(default=60000, label=_("RDS Max Disconnection Time"))