Merge pull request #816 from tcely/patch-10
Disable proxies for health checking
This commit is contained in:
1 file changed
+2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user