working rc1
This commit is contained in:
6
HealthchecksIO.py
Normal file
6
HealthchecksIO.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def healthcheck_ping(req_obj, url):
|
||||
try:
|
||||
req_obj.get(url, timeout=10)
|
||||
except req_obj.RequestException as e:
|
||||
# Log ping failure here...
|
||||
print("Ping failed: %s" % e)
|
||||
Reference in New Issue
Block a user