mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-25 09:29:33 +00:00
perf: 优化连接信息超长,客户端拉起无响应问题
This commit is contained in:
parent
7c52cec5fb
commit
30683ed859
@ -155,7 +155,7 @@ class RDPFileClientProtocolURLMixin:
|
|||||||
|
|
||||||
account = token.account or token.input_username
|
account = token.account or token.input_username
|
||||||
datetime = timezone.localtime(timezone.now()).strftime('%Y-%m-%d_%H:%M:%S')
|
datetime = timezone.localtime(timezone.now()).strftime('%Y-%m-%d_%H:%M:%S')
|
||||||
name = account + '@' + str(asset) + '[' + datetime + ']'
|
name = account + '@' + asset.name + '[' + datetime + ']'
|
||||||
data = {
|
data = {
|
||||||
'version': 2,
|
'version': 2,
|
||||||
'id': str(token.id), # 兼容老的,未来几个版本删掉
|
'id': str(token.id), # 兼容老的,未来几个版本删掉
|
||||||
|
Loading…
Reference in New Issue
Block a user