From aa255d0713c7f149af60de64b6c0e784855cff72 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 13 Jun 2022 15:45:53 +0200 Subject: [PATCH] Tuned I2PInterface socket timeouts --- RNS/Interfaces/I2PInterface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RNS/Interfaces/I2PInterface.py b/RNS/Interfaces/I2PInterface.py index e18865e..5e7d7b8 100644 --- a/RNS/Interfaces/I2PInterface.py +++ b/RNS/Interfaces/I2PInterface.py @@ -381,10 +381,10 @@ class I2PInterfacePeer(Interface): RECONNECT_MAX_TRIES = None # TCP socket options - I2P_USER_TIMEOUT = 40 + I2P_USER_TIMEOUT = 45 I2P_PROBE_AFTER = 10 - I2P_PROBE_INTERVAL = 5 - I2P_PROBES = 6 + I2P_PROBE_INTERVAL = 9 + I2P_PROBES = 5 def __init__(self, parent_interface, owner, name, target_i2p_dest=None, connected_socket=None, max_reconnect_tries=None): self.rxb = 0