TO SQUASH cached ctx.
parent
71b50fdae8
commit
0c9516051b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue