diff options
author | David Baker <dave@matrix.org> | 2016-01-22 11:22:32 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-22 11:22:32 +0000 |
commit | 8acc5cb60f551f56815c60a33c36d6752f4b0967 (patch) | |
tree | 13f95d0365859dcf6d81c1dcea304b03e9566853 /synapse/util/caches | |
parent | Test treecache directly (diff) | |
download | synapse-8acc5cb60f551f56815c60a33c36d6752f4b0967.tar.xz |
Add invalidate_many here too
Diffstat (limited to 'synapse/util/caches')
-rw-r--r-- | synapse/util/caches/descriptors.py | 1 |
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 |