mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 09:21:02 +00:00
perf: 修改日志清理
This commit is contained in:
@@ -38,7 +38,7 @@ class ToolsWebsocket(JsonWebsocketConsumer):
|
||||
self.send_json({'msg': msg})
|
||||
break
|
||||
if delay is None:
|
||||
msg = msg.format(dest_addr, 'failed. (timeout within {}sec.)'.format(timeout))
|
||||
msg = msg.format(dest_addr, 'failed. (timeout within {}s)'.format(timeout))
|
||||
else:
|
||||
delay = delay * 1000
|
||||
msg = msg.format(dest_addr, 'get ping in %0.4fms' % delay)
|
||||
|
Reference in New Issue
Block a user