From 1346e49a60f0750de0815bbd6dec961a89a8cb92 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 11 May 2024 01:29:52 -0400 Subject: [PATCH] Remove accidental query in healthcheck --- cmsmanage/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmsmanage/views.py b/cmsmanage/views.py index 11a885e..a7e5993 100644 --- a/cmsmanage/views.py +++ b/cmsmanage/views.py @@ -34,8 +34,6 @@ def _check_clusters() -> CheckResult: cluster for cluster in clusters if cluster.status in [Conf.IDLE, Conf.WORKING] ] - Schedule.objects.all() - if not len(clusters): return CheckResultFailure("No clusters running!") elif len(happy_clusters) != len(clusters):