mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Comments
This commit is contained in:
parent
6eaa116867
commit
53a817518b
2 changed files with 13 additions and 3 deletions
|
@ -315,6 +315,8 @@ class CacheListDescriptor(object):
|
|||
|
||||
ret_d = ObservableDeferred(ret_d)
|
||||
|
||||
# We need to create deferreds for each arg in the list so that
|
||||
# we can insert the new deferred into the cache.
|
||||
for arg in missing:
|
||||
observer = ret_d.observe()
|
||||
observer.addCallback(lambda r, arg: r[arg], arg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue