summary refs log tree commit diff
path: root/synapse/util/caches/lrucache.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-10-15 11:42:07 +0100
committerGitHub <noreply@github.com>2020-10-15 11:42:07 +0100
commit0a08cd10656349fc9e59d90c1cb3170598b7b0da (patch)
treed9f6ca7190d93a96eac15064dee33e5baa7fb45f /synapse/util/caches/lrucache.py
parentInclude user agent in user daily visits table (#8503) (diff)
parentchangelog (diff)
downloadsynapse-0a08cd10656349fc9e59d90c1cb3170598b7b0da.tar.xz
Merge pull request #8548 from matrix-org/rav/deferred_cache
Rename Cache to DeferredCache, and related changes
Diffstat (limited to 'synapse/util/caches/lrucache.py')
-rw-r--r--synapse/util/caches/lrucache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/util/caches/lrucache.py b/synapse/util/caches/lrucache.py

index 4bc1a67b58..33eae2b7c4 100644 --- a/synapse/util/caches/lrucache.py +++ b/synapse/util/caches/lrucache.py
@@ -64,7 +64,8 @@ class LruCache: Args: max_size: The maximum amount of entries the cache can hold - keylen: The length of the tuple used as the cache key + keylen: The length of the tuple used as the cache key. Ignored unless + cache_type is `TreeCache`. cache_type (type): type of underlying cache to be used. Typically one of dict