Merge pull request #816 from tcely/patch-10

Disable proxies for health checking
This commit is contained in:
meeb authored and GitHub committed 2025-03-08 15:31:43 +11:00
commit 84ade182e2
1 file changed
+2
+2
View File
@@ -18,6 +18,8 @@ import requests
TIMEOUT = 5 # Seconds
HTTP_USER = os.getenv('HTTP_USER')
HTTP_PASS = os.getenv('HTTP_PASS')
# never use proxy for healthcheck requests
os.environ['no_proxy'] = '*'
def do_heatlhcheck(url):