perf: 优化连接信息超长,客户端拉起无响应问题

pull/12059/head
halo 2023-11-07 14:46:15 +08:00 committed by Bryan
parent 7c52cec5fb
commit 30683ed859
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ class RDPFileClientProtocolURLMixin:
account = token.account or token.input_username
datetime = timezone.localtime(timezone.now()).strftime('%Y-%m-%d_%H:%M:%S')
name = account + '@' + str(asset) + '[' + datetime + ']'
name = account + '@' + asset.name + '[' + datetime + ']'
data = {
'version': 2,
'id': str(token.id), # 兼容老的,未来几个版本删掉