updated healthchecks to support starting and stopping a job
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-03 20:32:57 -05:00
parent 708d56fc98
commit d15cc8d95c
5 changed files with 114 additions and 100 deletions

View File

@@ -94,6 +94,11 @@ class Qbt:
tor_log(self)
tor_notify(self)
self.t = time
#start healthcheck job
if self.use_healthcheck:
send_ping(self, r, self.healthcheck_url.rstrip("/") + "/start" )
# Pulling domain names to treat carefully
self.tracker_list = []
self.up_tor_counter = 0