events: don't set metrics on import

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-06 10:13:30 +01:00
parent f95c06b76f
commit 4143d3fe28
1 changed files with 0 additions and 4 deletions

View File

@ -210,7 +210,3 @@ class PrefilledMonitoredTask(MonitoredTask):
def run(self, *args, **kwargs): def run(self, *args, **kwargs):
raise NotImplementedError raise NotImplementedError
for task in TaskInfo.all().values():
task.set_prom_metrics()