Spin up handle_dead_peer_queue task

This commit is contained in:
NIC619 2019-11-04 18:26:38 +08:00
parent 84f5210220
commit a8d9536b08
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

View File

@ -141,6 +141,7 @@ class Pubsub:
# Call handle peer to keep waiting for updates to peer queue
asyncio.ensure_future(self.handle_peer_queue())
asyncio.ensure_future(self.handle_dead_peer_queue())
def get_hello_packet(self) -> rpc_pb2.RPC:
"""Generate subscription message with all topics we are subscribed to