Remove accidental query in healthcheck
Some checks failed
Ruff / ruff (push) Has been cancelled
Test / test (push) Has been cancelled

This commit is contained in:
Adam Goldsmith 2024-05-11 01:29:52 -04:00
parent f688273ccf
commit 1346e49a60

View File

@ -34,8 +34,6 @@ def _check_clusters() -> CheckResult:
cluster for cluster in clusters if cluster.status in [Conf.IDLE, Conf.WORKING] cluster for cluster in clusters if cluster.status in [Conf.IDLE, Conf.WORKING]
] ]
Schedule.objects.all()
if not len(clusters): if not len(clusters):
return CheckResultFailure("No clusters running!") return CheckResultFailure("No clusters running!")
elif len(happy_clusters) != len(clusters): elif len(happy_clusters) != len(clusters):