change timeout for wordpress

This commit is contained in:
Joe Steele
2024-06-20 07:01:10 -04:00
parent 9e48f67e57
commit 4b271afd7b
+1 -1
View File
@@ -806,7 +806,7 @@ def check_is_port_open(host, port):
""" """
try: try:
is_web_up = urllib3.request("GET", host) is_web_up = urllib3.request("GET", host, timeout=10)
if is_web_up.status == 200: if is_web_up.status == 200:
return True return True
except AttributeError as error: except AttributeError as error: