diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 11:35:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 11:35:24 +0100 |
commit | 6eaa116867ebfd22718505d1aa29dce4679c87be (patch) | |
tree | b5a0de0c7fcc56bea94bca65d67f8ce869641c6f /synapse/storage | |
parent | Docs (diff) | |
download | synapse-6eaa116867ebfd22718505d1aa29dce4679c87be.tar.xz |
Comment
Diffstat (limited to 'synapse/storage')
-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 bdca61d2ee..4d86fe7c72 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -288,6 +288,8 @@ class CacheListDescriptor(object): keyargs = [arg_dict[arg_nm] for arg_nm in self.arg_names] list_args = arg_dict[self.list_name] + # cached is a dict arg -> deferred, where deferred results in a + # 2-tuple (`arg`, `result`) cached = {} missing = [] for arg in list_args: |