mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 04:56:35 +00:00
Disable proxies for health checking
This commit is contained in:
parent
c9e2a2d86f
commit
6f349b0f91
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user