Merge branch 'cc-5709-airtime-analyzer' into saas
This commit is contained in:
commit
c4af1b6b19
|
@ -134,11 +134,11 @@ def is_web_server_broken(url):
|
||||||
test_req = requests.get(url)
|
test_req = requests.get(url)
|
||||||
test_req.raise_for_status()
|
test_req.raise_for_status()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return true
|
return True
|
||||||
else:
|
else:
|
||||||
# The request worked fine, so the web server and Airtime are still up.
|
# The request worked fine, so the web server and Airtime are still up.
|
||||||
return false
|
return False
|
||||||
return false
|
return False
|
||||||
|
|
||||||
|
|
||||||
def alert_hung_request():
|
def alert_hung_request():
|
||||||
|
|
Loading…
Reference in New Issue