summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-04-06 13:21:19 +0100
committerMark Haines <mjark@negativecurvature.net>2016-04-06 13:21:19 +0100
commit196ebaf6623c3eb34e2ea9f65652b5cec6ef4bb4 (patch)
tree48465a8a5dba436fe884d7f2ac68ab9927afaba1 /synapse/storage/registration.py
parentMerge pull request #692 from matrix-org/markjh/replicate_reshuffle (diff)
parentMake the cache objects be per instance rather than being global (diff)
downloadsynapse-196ebaf6623c3eb34e2ea9f65652b5cec6ef4bb4.tar.xz
Merge pull request #695 from matrix-org/markjh/cachesII
Make the cache objects be per instance rather than being global
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index d46a963bb8..1f71773aaa 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -319,7 +319,7 @@ class RegistrationStore(SQLBaseStore):
 
         defer.returnValue(res if res else False)
 
-    @cachedList(cache=is_guest.cache, list_name="user_ids", num_args=1,
+    @cachedList(cached_method_name="is_guest", list_name="user_ids", num_args=1,
                 inlineCallbacks=True)
     def are_guests(self, user_ids):
         sql = "SELECT name, is_guest FROM users WHERE name IN (%s)" % (