keep nodes around for longer

This commit is contained in:
lza_menace 2025-02-12 12:13:09 -08:00
parent 5edea648b4
commit d7bbcd2bf5

View File

@ -81,7 +81,7 @@ def check_node(_node):
hc.save()
if (
node.get_failed_checks().count() == node.get_all_checks().count()
and node.get_all_checks().count() > 5
and node.get_all_checks().count() > 50
):
print("this node fails all of its health checks - deleting it!")
for _hc in node.get_all_checks():