diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 11:40:40 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 11:40:40 +0100 |
commit | 53a817518bd27e6838c747a03d605165f96dbd12 (patch) | |
tree | 000c7d7ac45464fc0c1ab6affe98c0e38816f723 /synapse/storage/_base.py | |
parent | Comment (diff) | |
download | synapse-53a817518bd27e6838c747a03d605165f96dbd12.tar.xz |
Comments
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 4d86fe7c72..e5441aafb2 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -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) |