tfix number of interfaces being opened - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 854f49fbeddd78df4be4bacde768a65109425494 DIR parent f62299097db0fb9adeaa3dc5d7f7a71f1e519e95 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 17 Aug 2014 11:48:46 +0200 fix number of interfaces being opened Diffstat: M lib/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -378,7 +378,7 @@ class Network(threading.Thread): i, response = self.queue.get(timeout=0.1) except Queue.Empty: - if len(self.interfaces) < self.num_server: + if len(self.interfaces) + len(self.pending_servers) < self.num_server: self.start_random_interface() if not self.interfaces: if time.time() - self.disconnected_time > DISCONNECTED_RETRY_INTERVAL: