rename ping to http_ping
This commit is contained in:
@@ -14,7 +14,7 @@ logging.disable(logging.CRITICAL)
|
||||
uptime = {}
|
||||
|
||||
|
||||
def ping(service):
|
||||
def http_ping(service):
|
||||
while True:
|
||||
print(f"[I] Pinging {service}")
|
||||
try:
|
||||
@@ -64,7 +64,7 @@ for service in config["services"]:
|
||||
uptime[service].append("?")
|
||||
|
||||
threading.Thread(
|
||||
target=ping,
|
||||
target=http_ping,
|
||||
args=(service,),
|
||||
).start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user