mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 07:20:18 +00:00
Tuned I2PInterface socket timeouts
This commit is contained in:
parent
5a8152c589
commit
aa255d0713
@ -381,10 +381,10 @@ class I2PInterfacePeer(Interface):
|
|||||||
RECONNECT_MAX_TRIES = None
|
RECONNECT_MAX_TRIES = None
|
||||||
|
|
||||||
# TCP socket options
|
# TCP socket options
|
||||||
I2P_USER_TIMEOUT = 40
|
I2P_USER_TIMEOUT = 45
|
||||||
I2P_PROBE_AFTER = 10
|
I2P_PROBE_AFTER = 10
|
||||||
I2P_PROBE_INTERVAL = 5
|
I2P_PROBE_INTERVAL = 9
|
||||||
I2P_PROBES = 6
|
I2P_PROBES = 5
|
||||||
|
|
||||||
def __init__(self, parent_interface, owner, name, target_i2p_dest=None, connected_socket=None, max_reconnect_tries=None):
|
def __init__(self, parent_interface, owner, name, target_i2p_dest=None, connected_socket=None, max_reconnect_tries=None):
|
||||||
self.rxb = 0
|
self.rxb = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user