Commit e3ccb131 authored by Luke Macken's avatar Luke Macken

Render our resource usage at the POLL_INTERVAL

parent 779c6bc6
......@@ -419,7 +419,7 @@ class PyrasiteWindow(Gtk.Window):
self.resource_thread.process = p
GObject.timeout_add(100, self.inject_js)
GObject.timeout_add(3500, self.render_resource_usage)
GObject.timeout_add(int(POLL_INTERVAL * 1000), self.render_resource_usage)
def inject_js(self):
log.debug("Injecting jQuery")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment