mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Add caches for things requested by the pushers
This commit is contained in:
parent
d61ce3f670
commit
53447e9cd3
7 changed files with 45 additions and 34 deletions
|
@ -180,6 +180,7 @@ def cached(max_entries=1000, num_args=1, lru=False):
|
|||
defer.returnValue(ret)
|
||||
|
||||
wrapped.invalidate = cache.invalidate
|
||||
wrapped.invalidate_all = cache.invalidate_all
|
||||
wrapped.prefill = cache.prefill
|
||||
return wrapped
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue