maybe_ping bad and unknown contacts instead of only unknown
This commit is contained in:
parent
fb3aac15fa
commit
8efede6ad6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue