summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-07-15 16:52:16 +0100
committerErik Johnston <erik@matrix.org>2022-07-15 16:52:16 +0100
commit7aceec3ed90b2a12a9f72b4ca72cb1c0682bcb67 (patch)
tree3254dffde1b32dee3137208a3dc271c9c75e2214
parentBetter stuff (diff)
downloadsynapse-7aceec3ed90b2a12a9f72b4ca72cb1c0682bcb67.tar.xz
Fix up
-rw-r--r--synapse/util/caches/dictionary_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/dictionary_cache.py b/synapse/util/caches/dictionary_cache.py
index 869a267e94..aa080c2d9e 100644
--- a/synapse/util/caches/dictionary_cache.py
+++ b/synapse/util/caches/dictionary_cache.py
@@ -158,7 +158,7 @@ class DictionaryCache(Generic[KT, DKT, DV]):
             assert isinstance(entry, _PerKeyValue)
 
             if entry.value is _Sentinel.sentinel:
-                known_absent.add(entry.value)
+                known_absent.add(dict_key)
             else:
                 values[dict_key] = entry.value