store module execution interval as float not int
paulfantom committed
Jun 11, 2016 at 14:03 UTC
27664b27b5237195b775a0ee9bd3c70b40b7efa9
1 file changed
+1
-1
plugins.d/python.d.plugin
+1
-1
@@ -54,7 +54,7 @@ class PythonCharts(object):
54
if interval < self.interval:
55
interval = self.interval
56
# charts updates are twice as frequent as user specified
57
- self.timetable[m.__name__] = [0, interval/2]
57
+ self.timetable[m.__name__] = [0, interval/2.0]
58
59
def import_plugin(self, path, name=None):
60
if name is None: