Daemon main doesn't require brokermod anymore
parent
4123139750
commit
90e8dd911c
|
@ -333,8 +333,9 @@ async def start_quoter(stream: trio.SocketStream) -> None:
|
||||||
await client.__aexit__()
|
await client.__aexit__()
|
||||||
|
|
||||||
|
|
||||||
async def _daemon_main(brokermod: ModuleType) -> None:
|
async def _daemon_main() -> None:
|
||||||
"""Entry point for the broker daemon.
|
"""Entry point for the broker daemon which waits for connections
|
||||||
|
before spawning micro-services.
|
||||||
"""
|
"""
|
||||||
async with trio.open_nursery() as nursery:
|
async with trio.open_nursery() as nursery:
|
||||||
listeners = await nursery.start(
|
listeners = await nursery.start(
|
||||||
|
|
Loading…
Reference in New Issue