summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-11 11:35:24 +0100
committerErik Johnston <erik@matrix.org>2015-08-11 11:35:24 +0100
commit6eaa116867ebfd22718505d1aa29dce4679c87be (patch)
treeb5a0de0c7fcc56bea94bca65d67f8ce869641c6f /synapse
parentDocs (diff)
downloadsynapse-6eaa116867ebfd22718505d1aa29dce4679c87be.tar.xz
Comment
Diffstat (limited to '')
-rw-r--r--synapse/storage/_base.py2
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: