# HG changeset patch # User drewp@bigasterisk.com # Date 1443957566 25200 # Node ID 9a3b8f1aaf7883cba88e2c908d83093df2382df2 # Parent 572580b50de3773a9fa0121cf698ab7edc8eb6c4 old edits Ignore-this: 3e77b4a7d621e0bb2218e815ae60934c diff -r 572580b50de3 -r 9a3b8f1aaf78 service/theaterArduino/watchpins.py --- a/service/theaterArduino/watchpins.py Sun Oct 04 04:18:58 2015 -0700 +++ b/service/theaterArduino/watchpins.py Sun Oct 04 04:19:26 2015 -0700 @@ -140,11 +140,11 @@ a = ActivityStream() self.settings.mongo.ensure_index('t') remaining = {'downstairsDoorMotion':10, 'downstairsDoorOpen':10, - 'frontDoorMotion':10, 'frontDoor':50, 'bedroomMotion': 10} + 'frontDoorMotion':30, 'frontDoor':50, 'bedroomMotion': 10} recent = {} toAdd = [] for row in list(self.settings.mongo.find(sort=[('t', -1)], - limit=5000)): + limit=10000)): try: r = remaining[row['name']] if r < 1: