From 2b7cecc78ed88062b546fd2a560a17392155cc6a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 31 Mar 2021 14:56:42 -0400 Subject: [PATCH] Drop upcoming cached feed usage --- piker/_daemon.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/piker/_daemon.py b/piker/_daemon.py index 8f17ad2a..da0b02b8 100644 --- a/piker/_daemon.py +++ b/piker/_daemon.py @@ -136,8 +136,6 @@ async def spawn_brokerd( **tractor_kwargs ) -> tractor._portal.Portal: - from .data import _setup_persistent_feeds - log.info(f'Spawning {brokername} broker daemon') brokermod = get_brokermod(brokername) @@ -156,21 +154,6 @@ async def spawn_brokerd( **tractor_kwargs ) - # TODO: so i think this is the perfect use case for supporting - # a cross-actor async context manager api instead of this - # shoort-and-forget task spawned in the root nursery, we'd have an - # async exit stack that we'd register the `portal.open_context()` - # call with and then have the ability to unwind the call whenevs. - - # non-blocking setup of brokerd service nursery - _services.service_n.start_soon( - partial( - portal.run, - _setup_persistent_feeds, - brokername=brokername, - ) - ) - return dname