FanoutCache.cull()
Remove expired entries, then evict the least recently stored from each shard until it’s
Usage
FanoutCache.cull(
*,
timeout=None,
)under its share of size_limit.
Parameters
timeout: float | None = None- As for expire: one budget for the whole call.
Returns
int- How many entries were removed.
Raises
Timeout-
As for expire, with
removedandfailed_shards.