Skip to content

Commit

Permalink
Start piker.storage subsys: cross-(ts)db middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Mar 10, 2023
1 parent eb51033 commit d3da84e
Show file tree
Hide file tree
Showing 3 changed files with 429 additions and 362 deletions.
5 changes: 4 additions & 1 deletion piker/data/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,12 @@ async def manage_history(
):
log.info('Found existing `marketstored`')

# TODO: make the module adhere to an attribute API-schema
# which can used here at this management layer.
from ..service import marketstore
from .. import storage
async with (
marketstore.open_storage_client(fqsn)as storage,
storage.open_storage_client(fqsn)as storage,
):
# TODO: drop returning the output that we pass in?
await bus.nursery.start(
Expand Down
Loading

0 comments on commit d3da84e

Please sign in to comment.