diff --git a/authentik/events/monitored_tasks.py b/authentik/events/monitored_tasks.py index 138b4070c..d7273e0bf 100644 --- a/authentik/events/monitored_tasks.py +++ b/authentik/events/monitored_tasks.py @@ -210,7 +210,3 @@ class PrefilledMonitoredTask(MonitoredTask): def run(self, *args, **kwargs): raise NotImplementedError - - -for task in TaskInfo.all().values(): - task.set_prom_metrics()