From 4b271afd7b67c0580384a86efd53748e998a7b63 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Thu, 20 Jun 2024 07:01:10 -0400 Subject: [PATCH] change timeout for wordpress --- social.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/social.py b/social.py index 6925045..b1420e2 100644 --- a/social.py +++ b/social.py @@ -806,7 +806,7 @@ def check_is_port_open(host, port): """ try: - is_web_up = urllib3.request("GET", host) + is_web_up = urllib3.request("GET", host, timeout=10) if is_web_up.status == 200: return True except AttributeError as error: