TO SQUASH cached ctx.

pause_feeds_on_sym_switch
Tyler Goodlet 2021-08-12 20:16:45 -04:00
parent 71b50fdae8
commit 0c9516051b
1 changed files with 1 additions and 1 deletions

View File

@ -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: