mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-08 02:39:22 +00:00
feat: 系统工具支持traceroute (#11474)
This commit is contained in:
@@ -143,7 +143,7 @@ async def verbose_ping(dest_ips, timeout=2, count=5, psize=64, display=None):
|
||||
for dest_ip in ips:
|
||||
await display(f'PING {dest_ip}: 56 data bytes')
|
||||
# 切换异步协程
|
||||
await asyncio.sleep(0.1)
|
||||
await asyncio.sleep(0.01)
|
||||
error_count = 0
|
||||
for i in range(count):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user