Mercurial > code > home > repos > light9
diff light9/collector/collector.py @ 1492:ce97f298bfb8
restore zmq transport to collector
Ignore-this: 2d834c3bca0f7d594aee7469660e73f5
author | drewp@bigasterisk.com |
---|---|
date | Mon, 13 Jun 2016 20:02:49 +0000 |
parents | 31612b323436 |
children | 37cbb245d93c |
line wrap: on
line diff
--- a/light9/collector/collector.py Mon Jun 13 19:25:00 2016 +0000 +++ b/light9/collector/collector.py Mon Jun 13 20:02:49 2016 +0000 @@ -82,7 +82,10 @@ Call with settings=[] to ping us that your session isn't dead. """ now = time.time() - print now - sendTime + requestLag = now - sendTime + if requestLag > .1: + log.warn('collector.setAttrs from %s is running %.1fms after the request was made', + client, requestLag * 1000) self._forgetStaleClients(now)