perf: 优化截取方法

pull/8451/head^2
halo 2022-07-01 21:36:41 +08:00 committed by Jiangjie.Bai
parent c5bf4075e7
commit ca19e45905
1 changed files with 1 additions and 1 deletions

View File

@ -47,5 +47,5 @@ class SessionCommandSerializer(SimpleSessionCommandSerializer):
def validate_system_user(self, value):
if len(value) > 64:
value = pretty_string(value, 32)
value = pretty_string(value, 64)
return value