mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Pubsub: change run_task to run_daemon_task
This commit is contained in:
@ -88,7 +88,7 @@ class GossipSub(IPubsubRouter, Service):
|
||||
async def run(self) -> None:
|
||||
if self.pubsub is None:
|
||||
raise NoPubsubAttached
|
||||
self.manager.run_task(self.heartbeat)
|
||||
self.manager.run_daemon_task(self.heartbeat)
|
||||
await self.manager.wait_finished()
|
||||
|
||||
# Interface functions
|
||||
|
||||
Reference in New Issue
Block a user