Skip to content

Commit dffa345

Browse files
committed
Changing up timeouts again. I2P is high latency, congestion is a thing.
1 parent 991d55d commit dffa345

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/class_outgoingSynSender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def run(self):
7777
# This option apparently avoids the TIME_WAIT state so that we
7878
# can rebind faster
7979
# sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
80-
sock.settimeout(180)
80+
sock.settimeout(600)
8181
if shared.config.get('bitmessagesettings', 'socksproxytype') == 'none' and shared.verbose >= 2:
8282
with shared.printLock:
8383
print 'Trying an outgoing connection to', peer

src/class_receiveDataThread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def connectionFullyEstablished(self):
257257
shared.clientHasReceivedIncomingConnections = True
258258
shared.UISignalQueue.put(('setStatusIcon', 'green'))
259259
self.sock.settimeout(
260-
1800) # We'll send out a pong every 5 minutes to make sure the connection stays alive if there has been no other traffic to send lately.
260+
600) # We'll send out a pong every 5 minutes to make sure the connection stays alive if there has been no other traffic to send lately.
261261
shared.UISignalQueue.put(('updateNetworkStatusTab', 'no data'))
262262
with shared.printLock:
263263
print 'Connection fully established with', self.peer

src/class_singleListener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run(self):
8484

8585
someObjectsOfWhichThisRemoteNodeIsAlreadyAware = {} # This is not necessairly a complete list; we clear it from time to time to save memory.
8686
sendDataThreadQueue = Queue.Queue() # Used to submit information to the send data thread for this connection.
87-
socketObject.settimeout(180)
87+
socketObject.settimeout(600)
8888

8989
sd = sendDataThread(sendDataThreadQueue)
9090
sd.setup(

0 commit comments

Comments
 (0)