Fix announce rate targets on I2PInterface peers

This commit is contained in:
Mark Qvist 2022-05-23 00:28:06 +02:00
parent cf3e47f469
commit 9e6a5d5d91
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ class I2PInterfacePeer(Interface):
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL
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:
self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES
else: