diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-27 16:17:17 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-27 16:17:17 +0100 |
commit | a8cbce0ced662f92ce7576dd44e5fefe98ffae62 (patch) | |
tree | 9b6b09a50fa5eeb9e35f754c3b99a5ed44447708 /synapse | |
parent | Rewrite cache list decorator (diff) | |
download | synapse-a8cbce0ced662f92ce7576dd44e5fefe98ffae62.tar.xz |
fix invalidation
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/util/caches/descriptors.py | 2 |
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 |