fix: 移动【会话设置保留时间】至定期清理设置页面

This commit is contained in:
Michael Bai
2021-11-12 11:04:38 +08:00
committed by 老广
parent 9a7919f3ac
commit 7286b1b09e
2 changed files with 5 additions and 4 deletions

View File

@@ -25,3 +25,8 @@ class CleaningSerializer(serializers.Serializer):
min_value=1, max_value=9999,
label=_("Cloud sync record keep days"), help_text=_("Unit: day")
)
TERMINAL_SESSION_KEEP_DURATION = serializers.IntegerField(
min_value=1, max_value=99999, required=True, label=_('Session keep duration'),
help_text=_('Unit: days, Session, record, command will be delete if more than duration, only in database')
)