]> arthur.barton.de Git - netdata.git/commitdiff
store module execution interval as float not int
authorpaulfantom <paulfantom@gmail.com>
Sat, 11 Jun 2016 12:03:12 +0000 (14:03 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sat, 11 Jun 2016 12:03:12 +0000 (14:03 +0200)
plugins.d/python.d.plugin

index 22292aac0a4cb003ebd51b00b608d1663a4dd238..59c6f6ffc15c250de34a420625d6406cad7f0d53 100755 (executable)
@@ -54,7 +54,7 @@ class PythonCharts(object):
             if interval < self.interval:
                 interval = self.interval
             # charts updates are twice as frequent as user specified
-            self.timetable[m.__name__] = [0, interval/2]
+            self.timetable[m.__name__] = [0, interval/2.0]
 
     def import_plugin(self, path, name=None):
         if name is None: