From: Bernard Blackham Date: Sun, 27 Jun 2004 11:06:54 +0000 (+0000) Subject: D'oh. This was slowing it down like hell. X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=594376ce4eb6bfae00316c7a1c6d55f764a688b6;p=zanchey%2Fdispense2.git D'oh. This was slowing it down like hell. --- diff --git a/sql-edition/servers/VendingMachine.py b/sql-edition/servers/VendingMachine.py index 52b66cf..dcafac4 100644 --- a/sql-edition/servers/VendingMachine.py +++ b/sql-edition/servers/VendingMachine.py @@ -149,6 +149,7 @@ class VendingMachine: (r, _, _) = select([self.rfh], [], [], timeout) if r: self.get_response(async = True) + timeout = 0 else: break if len(self.events) == 0: return None