mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
More aggressive timeout redfish checking
To make scans go faster, be more aggressive in giving up on non-responsive targets.
This commit is contained in:
parent
9837ad7932
commit
963b35cd32
@ -401,7 +401,7 @@ def check_fish(urldata, port=443, verifycallback=None):
|
||||
verifycallback = lambda x: True
|
||||
url, data = urldata
|
||||
try:
|
||||
wc = webclient.SecureHTTPConnection(_get_svrip(data), port, verifycallback=verifycallback, timeout=3)
|
||||
wc = webclient.SecureHTTPConnection(_get_svrip(data), port, verifycallback=verifycallback, timeout=1.5)
|
||||
peerinfo = wc.grab_json_response(url)
|
||||
except socket.error:
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user