From ba82a188900703177f1084dae05aaeb1007e0b28 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 19 Feb 2022 16:34:36 -0500 Subject: [PATCH] Pass in daemon name to `start_ahab()` --- piker/cli/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/piker/cli/__init__.py b/piker/cli/__init__.py index 634c6175..a1931b8f 100644 --- a/piker/cli/__init__.py +++ b/piker/cli/__init__.py @@ -54,13 +54,19 @@ def pikerd(loglevel, host, tl, pdb, tsdb): trio.open_nursery() as n, ): if tsdb: + # TODO: + # async with maybe_open_marketstored(): + from piker.data._ahab import start_ahab log.info('Spawning `marketstore` supervisor') - ctn_ready = await n.start(start_ahab) + ctn_ready = await n.start( + start_ahab, + 'marketstored', + ) await ctn_ready.wait() log.info('`marketstore` container:{uid} up') - await trio.sleep_forever() + await trio.sleep_forever() trio.run(main)