From 963b35cd323cb8c9fc377da4e0259fd7a9846e60 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 18 Nov 2022 14:24:58 -0500 Subject: [PATCH] More aggressive timeout redfish checking To make scans go faster, be more aggressive in giving up on non-responsive targets. --- confluent_server/confluent/discovery/protocols/ssdp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/ssdp.py b/confluent_server/confluent/discovery/protocols/ssdp.py index 1db70b10..5e6b8b1d 100644 --- a/confluent_server/confluent/discovery/protocols/ssdp.py +++ b/confluent_server/confluent/discovery/protocols/ssdp.py @@ -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