Skip to content

Commit 4a13c89

Browse files
committed
Start piker.storage subsys: cross-(ts)db middlewares
1 parent 7cc9911 commit 4a13c89

3 files changed

Lines changed: 429 additions & 362 deletions

File tree

piker/data/feed.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,9 +865,12 @@ async def manage_history(
865865
):
866866
log.info('Found existing `marketstored`')
867867

868+
# TODO: make the module adhere to an attribute API-schema
869+
# which can used here at this management layer.
868870
from ..service import marketstore
871+
from .. import storage
869872
async with (
870-
marketstore.open_storage_client(fqsn)as storage,
873+
storage.open_storage_client(fqsn)as storage,
871874
):
872875
# TODO: drop returning the output that we pass in?
873876
await bus.nursery.start(

0 commit comments

Comments
 (0)