Updated healthchecks to have a run time
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
def healthcheck_ping(req_obj, url):
|
||||
def healthcheck_ping(req_obj, url, start=False):
|
||||
if start == True:
|
||||
url + '/start'
|
||||
try:
|
||||
req_obj.get(url, timeout=10)
|
||||
except req_obj.RequestException as e:
|
||||
|
||||
Reference in New Issue
Block a user