From 7aceec3ed90b2a12a9f72b4ca72cb1c0682bcb67 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 15 Jul 2022 16:52:16 +0100 Subject: [PATCH] Fix up --- synapse/util/caches/dictionary_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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