mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-09-23 09:04:40 -04:00
keep nodes around for longer
This commit is contained in:
parent
5edea648b4
commit
d7bbcd2bf5
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def check_node(_node):
|
||||||
hc.save()
|
hc.save()
|
||||||
if (
|
if (
|
||||||
node.get_failed_checks().count() == node.get_all_checks().count()
|
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!")
|
print("this node fails all of its health checks - deleting it!")
|
||||||
for _hc in node.get_all_checks():
|
for _hc in node.get_all_checks():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue