mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +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:
|
async def run(self) -> None:
|
||||||
if self.pubsub is None:
|
if self.pubsub is None:
|
||||||
raise NoPubsubAttached
|
raise NoPubsubAttached
|
||||||
self.manager.run_task(self.heartbeat)
|
self.manager.run_daemon_task(self.heartbeat)
|
||||||
await self.manager.wait_finished()
|
await self.manager.wait_finished()
|
||||||
|
|
||||||
# Interface functions
|
# Interface functions
|
||||||
|
|||||||
Reference in New Issue
Block a user