From 59377da0ad9d5af5862fdfd4d578651ee47e7765 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 18 May 2021 08:36:19 -0400 Subject: [PATCH] Load pause configs from backends on feed opens --- piker/data/feed.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/piker/data/feed.py b/piker/data/feed.py index 5300bb85..ce26d6a2 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -473,6 +473,7 @@ async def open_feed( if brokername in _search._searcher_cache: yield feed + else: async with feed._brokerd_portal.open_context( mod.open_symbol_search @@ -489,5 +490,7 @@ async def open_feed( async with _search.register_symbol_search( provider_name=brokername, search_routine=search, + pause_period=mod._search_conf.get('pause_period'), + ): yield feed