From d20da5d8033aca0f09bcb2b8eb79e2b48b1a54d7 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 16 Mar 2019 02:46:33 +0100 Subject: [PATCH] 1ms is the minimum sleep with new gevent --- plugins/Chart/ChartCollector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Chart/ChartCollector.py b/plugins/Chart/ChartCollector.py index bd5a1f84..f379e0df 100644 --- a/plugins/Chart/ChartCollector.py +++ b/plugins/Chart/ChartCollector.py @@ -156,7 +156,7 @@ class ChartCollector(object): site_datas = self.collectDatas(collectors, last_values["site:%s" % address], site) for key, value in site_datas.items(): values.append((self.db.getTypeId(key), self.db.getSiteId(address), value, now)) - time.sleep(0.000001) + time.sleep(0.001) self.log.debug("Site collections done in %.3fs" % (time.time() - s)) s = time.time()