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