fixed thread crash in highfailurerate check in communicator
This commit is contained in:
parent
d8b5127845
commit
c3bf73d821
@ -603,8 +603,11 @@ class OnionrCommunicate:
|
||||
peerTryCount = 0
|
||||
|
||||
for i in peerList:
|
||||
try:
|
||||
if self.peerData[i]['failCount'] >= self.highFailureAmount:
|
||||
continue
|
||||
except KeyError:
|
||||
pass
|
||||
if peerTryCount >= peerTries:
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user