mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 09:34:59 -04:00
Describe prune_unread_entries
in docstrings (#11876)
Should have been caught in #10826.
This commit is contained in:
parent
acda9f07c8
commit
f510fba4ba
4 changed files with 18 additions and 2 deletions
|
@ -254,9 +254,17 @@ class DeferredCacheDescriptor(_CacheDescriptorBase):
|
|||
return r1 + r2
|
||||
|
||||
Args:
|
||||
orig:
|
||||
max_entries:
|
||||
num_args: number of positional arguments (excluding ``self`` and
|
||||
``cache_context``) to use as cache keys. Defaults to all named
|
||||
args of the function.
|
||||
tree:
|
||||
cache_context:
|
||||
iterable:
|
||||
prune_unread_entries: If True, cache entries that haven't been read recently
|
||||
will be evicted from the cache in the background. Set to False to opt-out
|
||||
of this behaviour.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue