]> git.ipfire.org Git - collecty.git/commitdiff
latency: Give plugin a lower priority
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Sep 2020 14:02:06 +0000 (14:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Sep 2020 14:02:06 +0000 (14:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/latency.py

index 3704549cc951f8b762d2b32cedd40eb06d768db9..a4be42e1d27f2be2440ea417a403ca7ea1aaf4f0 100644 (file)
@@ -185,6 +185,9 @@ class LatencyPlugin(base.Plugin):
 
        templates = [GraphTemplateLatency]
 
+       # Because this plugin has the potential to block, we give it a slightly lower priority
+       priority = 10
+
        @property
        def objects(self):
                for hostname in PING_HOSTS: