mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-26 07:59:36 -05:00
Fix announce rate targets on I2PInterface peers
This commit is contained in:
parent
cf3e47f469
commit
9e6a5d5d91
@ -212,6 +212,10 @@ class I2PInterfacePeer(Interface):
|
|||||||
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL
|
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL
|
||||||
self.bitrate = I2PInterface.BITRATE_GUESS
|
self.bitrate = I2PInterface.BITRATE_GUESS
|
||||||
|
|
||||||
|
self.announce_rate_target = None
|
||||||
|
self.announce_rate_grace = None
|
||||||
|
self.announce_rate_penalty = None
|
||||||
|
|
||||||
if max_reconnect_tries == None:
|
if max_reconnect_tries == None:
|
||||||
self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES
|
self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user