mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
fix invalidation
This commit is contained in:
parent
f102c05856
commit
a8cbce0ced
2 changed files with 42 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue