Pass in the host addr

kivy_mainline_and_py3.8
Tyler Goodlet 2018-05-08 15:07:13 -04:00
parent 4e711395e0
commit 3d6b14ec3f
1 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ async def start_quoter(
await cntxmng.__aexit__(None, None, None)
async def _daemon_main() -> None:
async def _daemon_main(host) -> None:
"""Entry point for the broker daemon which waits for connections
before spawning micro-services.
"""
@ -393,7 +393,7 @@ async def _daemon_main() -> None:
start_quoter, broker2tickersubs, clients,
dtasks, nursery
),
1616, host='127.0.0.1'
1616, host=host,
)
)
log.debug(f"Spawned {listeners}")