From caebdd0819fbe958f4690bd2937796c7990fa0af Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 4 Jun 2015 11:22:57 +0900 Subject: [PATCH] Need an interface to process a request. Occasionally triggered with a race at start up, typically from the verifier requesting a merkle root. --- lib/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network.py b/lib/network.py index 64c1686f..2a920aaa 100644 --- a/lib/network.py +++ b/lib/network.py @@ -432,7 +432,7 @@ class Network(util.DaemonThread): self.response_queue.put(response) def handle_requests(self): - while True: + while self.interface: try: request = self.requests_queue.get_nowait() except Queue.Empty: