summary refs log tree commit diff
path: root/synapse/util/caches/descriptors.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-22 11:22:32 +0000
committerDavid Baker <dave@matrix.org>2016-01-22 11:22:32 +0000
commit8acc5cb60f551f56815c60a33c36d6752f4b0967 (patch)
tree13f95d0365859dcf6d81c1dcea304b03e9566853 /synapse/util/caches/descriptors.py
parentTest treecache directly (diff)
downloadsynapse-8acc5cb60f551f56815c60a33c36d6752f4b0967.tar.xz
Add invalidate_many here too
Diffstat (limited to 'synapse/util/caches/descriptors.py')
-rw-r--r--synapse/util/caches/descriptors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index af7bf15500..f4a2b4e590 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -209,6 +209,7 @@ class CacheDescriptor(object):
 
         wrapped.invalidate = self.cache.invalidate
         wrapped.invalidate_all = self.cache.invalidate_all
+        wrapped.invalidate_many = self.cache.invalidate_many
         wrapped.prefill = self.cache.prefill
 
         obj.__dict__[self.orig.__name__] = wrapped