From: James Andrewartha Date: Fri, 30 Oct 2009 01:58:08 +0000 (+0800) Subject: 20 is still causing in use errors, try 30 seconds X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=800848488857b4537d5d3dc2d8d91340fca5f279;p=uccdoor.git 20 is still causing in use errors, try 30 seconds --- diff --git a/server.py b/server.py index 4bdcdd0..06aca7b 100755 --- a/server.py +++ b/server.py @@ -77,7 +77,7 @@ class Door(dbus.service.Object): # emit signal self.status_changed(newstatus) # back off if broken - self.interval = [10,10,20][newstatus] + self.interval = [10,10,30][newstatus] # set up timeout again self.timeout = Timer(self.interval, self.poll)