mirror of https://github.com/jumpserver/jumpserver
fix: 修改测试IP地址工具的默认超市时间为 0.5s
parent
acf8b5798b
commit
795d6e01dc
|
@ -369,7 +369,7 @@ def group_by_count(it, count):
|
|||
return [it[i:i+count] for i in range(0, len(it), count)]
|
||||
|
||||
|
||||
def test_ip_connectivity(host, port, timeout=3):
|
||||
def test_ip_connectivity(host, port, timeout=0.5):
|
||||
"""
|
||||
timeout: seconds
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue