Mercurial > code > home > repos > light9
changeset 1676:103d67ebf5e2
collector: less log
Ignore-this: 6a1a0ef47c9f6f8a77b83806fd30c883
author | drewp@bigasterisk.com |
---|---|
date | Sun, 11 Jun 2017 21:03:55 +0000 |
parents | e2ddb3e55b84 |
children | 0802069ff063 |
files | light9/collector/collector.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/collector/collector.py Sun Jun 11 18:58:53 2017 +0000 +++ b/light9/collector/collector.py Sun Jun 11 21:03:55 2017 +0000 @@ -178,7 +178,7 @@ dt1 = 1000 * (time.time() - now) self.flush(pendingOut) dt2 = 1000 * (time.time() - now) - if dt1 > 15: + if dt1 > 30: log.warn("slow setAttrs: %.1fms -> flush -> %.1fms. lr %s da %s oa %s" % ( dt1, dt2, len(self.lastRequest), len(deviceAttrs), len(outputAttrs) ))