From 594376ce4eb6bfae00316c7a1c6d55f764a688b6 Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Sun, 27 Jun 2004 11:06:54 +0000 Subject: [PATCH] D'oh. This was slowing it down like hell. --- sql-edition/servers/VendingMachine.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1