perf: 修改发布机选项默认值

pull/9660/head
Eric 2023-02-21 14:20:03 +08:00
parent b91b9ef39e
commit 64e929a220
2 changed files with 2 additions and 2 deletions

View File

@ -5613,7 +5613,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"))