Mercurial > code > home > repos > homeauto
diff service/reasoning/reasoning.py @ 54:42411726a7ca
screen out more values that change on every update
Ignore-this: 3f50a271af00e18be0ba7facbfc425a8
author | drewp@bigasterisk.com |
---|---|
date | Sun, 27 Jan 2013 23:48:30 -0800 |
parents | 0aeb8d6ea124 |
children | e573af8c2428 |
line wrap: on
line diff
--- a/service/reasoning/reasoning.py Wed Jan 09 20:22:51 2013 -0800 +++ b/service/reasoning/reasoning.py Sun Jan 27 23:48:30 2013 -0800 @@ -112,6 +112,8 @@ URIRef("http://bigasterisk.com/map#lastSeenAgoSec"), URIRef("http://bigasterisk.com/map#lastSeenAgo"), URIRef("http://projects.bigasterisk.com/room/usingPower"), + URIRef("http://projects.bigasterisk.com/room/idleTimeMinutes"), + URIRef("http://projects.bigasterisk.com/room/idleTimeMs"), ])): log.debug(" remote graph changed") self.onChange(self) @@ -323,6 +325,9 @@ Using PUT because this is idempotent and retryable and everything. + + todo: this should do the right thing when many requests come + in very quickly """ print self.request.headers log.info("immediateUpdate from %s",