forked from LBRYCommunity/lbry-sdk
ping contacts right away during refresh instead of using PingQueue
-fixes contact expiration test
This commit is contained in:
parent
a952d2d2c8
commit
877da78505
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ class Node(MockKademliaHelper):
|
||||||
|
|
||||||
def _refreshContacts(self):
|
def _refreshContacts(self):
|
||||||
return defer.DeferredList(
|
return defer.DeferredList(
|
||||||
[self._protocol._ping_queue.enqueue_maybe_ping(contact) for contact in self.contacts]
|
[contact.ping() for contact in self.contacts], consumeErrors=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Add table
Reference in a new issue