tset timeout to 1 minute - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 958a3fa5b633ba145843c2b829751dacb2c72358 (DIR) parent a35a945b0bf9193a4e5149fe5d2972c449c2e25f (HTM) Author: ThomasV <thomasv@gitorious> Date: Sun, 20 May 2012 18:02:05 +0200 set timeout to 1 minute Diffstat: M lib/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/lib/interface.py b/lib/interface.py t@@ -219,7 +219,7 @@ class TcpStratumInterface(Interface): def init_socket(self): self.s = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) - self.s.settimeout(5*60) + self.s.settimeout(60) self.s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) try: self.s.connect(( self.host, self.port))