D'oh. This was slowing it down like hell.
authorBernard Blackham <[email protected]>
Sun, 27 Jun 2004 11:06:54 +0000 (11:06 +0000)
committerBernard Blackham <[email protected]>
Sun, 27 Jun 2004 11:06:54 +0000 (11:06 +0000)
sql-edition/servers/VendingMachine.py

index 52b66cf..dcafac4 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au