rename ping to http_ping

This commit is contained in:
Kierre
2025-11-08 14:53:56 -05:00
parent 4fd27bae14
commit bce7d816a9
+2 -2
View File
@@ -14,7 +14,7 @@ logging.disable(logging.CRITICAL)
uptime = {} uptime = {}
def ping(service): def http_ping(service):
while True: while True:
print(f"[I] Pinging {service}") print(f"[I] Pinging {service}")
try: try:
@@ -64,7 +64,7 @@ for service in config["services"]:
uptime[service].append("?") uptime[service].append("?")
threading.Thread( threading.Thread(
target=ping, target=http_ping,
args=(service,), args=(service,),
).start() ).start()