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-Tag: IMPORT-FROM-UCCCVS~143 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0b0ace976ebe54765463b230061c3e8aff8e93b1;p=uccvend-vendserver.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