From 0c9516051b7b725985430ade6a78bf0735487eef Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 12 Aug 2021 20:16:45 -0400 Subject: [PATCH] TO SQUASH cached ctx. --- piker/_cacheables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/_cacheables.py b/piker/_cacheables.py index 979a7ce6..d4e6ccfa 100644 --- a/piker/_cacheables.py +++ b/piker/_cacheables.py @@ -160,7 +160,7 @@ async def maybe_open_ctx( log.info(f'Reusing cached feed for {key}') try: cache.users += 1 - yield True, value + yield value finally: cache.users -= 1 if cache.users == 0: