maybe_ping bad and unknown contacts instead of only unknown

This commit is contained in:
Jack Robison 2018-05-29 11:01:58 -04:00
parent fb3aac15fa
commit 8efede6ad6
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -53,7 +53,7 @@ class PingQueue(object):
checked = [] checked = []
while now > self._enqueued_contacts[contact]: while now > self._enqueued_contacts[contact]:
checked.append(contact) checked.append(contact)
if contact.contact_is_good is None: if not contact.contact_is_good:
pinged.append(contact) pinged.append(contact)
if not len(self._queue): if not len(self._queue):
break break