summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/caches/descriptors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index 1a8c99d387..861c24809c 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -528,7 +528,7 @@ class CacheListDescriptor(_CacheDescriptorBase):
                     deferreds_map[arg] = deferred
                     key = arg_to_cache_key(arg)
                     observable = ObservableDeferred(deferred)
-                    cache.set(key, observable)
+                    cache.set(key, observable, callback=invalidate_callback)
 
                 def complete_all(res):
                     # the wrapped function has completed. It returns a