summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-10 13:47:45 +0100
committerErik Johnston <erik@matrix.org>2015-08-10 13:47:45 +0100
commit8c3a62b5c75920acbbcdcfd889228160c2a60ef5 (patch)
tree33d85a573bceaa38e57d9032b0e0570f38afaf40 /synapse/storage/keys.py
parentMerge pull request #212 from matrix-org/erikj/cache_deferreds (diff)
parentRename keyargs to args in CacheDescriptor (diff)
downloadsynapse-8c3a62b5c75920acbbcdcfd889228160c2a60ef5.tar.xz
Merge pull request #215 from matrix-org/erikj/cache_varargs_interface
Change Cache to not use *args in its interface
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index e3f98f0cde..49b8e37cfd 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -131,7 +131,7 @@ class KeyStore(SQLBaseStore):
             desc="store_server_verify_key",
         )
 
-        self.get_all_server_verify_keys.invalidate(server_name)
+        self.get_all_server_verify_keys.invalidate((server_name,))
 
     def store_server_keys_json(self, server_name, key_id, from_server,
                                ts_now_ms, ts_expires_ms, key_json_bytes):