From 90e8dd911c7043a0c0e33785d6b09ac951582f4a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 19 Apr 2018 01:29:14 -0400 Subject: [PATCH] Daemon main doesn't require brokermod anymore --- piker/brokers/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/brokers/core.py b/piker/brokers/core.py index 8b823808..d3c6e6c0 100644 --- a/piker/brokers/core.py +++ b/piker/brokers/core.py @@ -333,8 +333,9 @@ async def start_quoter(stream: trio.SocketStream) -> None: await client.__aexit__() -async def _daemon_main(brokermod: ModuleType) -> None: - """Entry point for the broker daemon. +async def _daemon_main() -> None: + """Entry point for the broker daemon which waits for connections + before spawning micro-services. """ async with trio.open_nursery() as nursery: listeners = await nursery.start(