diff service/reasoning/reasoning.py @ 859:379cefec542e

screen out more values that change on every update Ignore-this: 3f50a271af00e18be0ba7facbfc425a8 darcs-hash:20130128074830-312f9-18689c92487fd3a86a8a6193a9495586fcdd83da
author drewp <drewp@bigasterisk.com>
date Sun, 27 Jan 2013 23:48:30 -0800
parents 1815d2343a3f
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",