summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-06 23:56:47 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-06 23:56:47 +0100
commitcd7ef4387205eaeb64b77860a82f782f91e41e93 (patch)
tree724c981847181b880a98e27a2eb4887ea2ecac72 /synapse/storage/keys.py
parentadd some logging for the keyring queue (diff)
downloadsynapse-cd7ef4387205eaeb64b77860a82f782f91e41e93.tar.xz
clearer logging when things fail, too
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index f547977600..a1331c1a61 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -134,6 +134,7 @@ class KeyStore(SQLBaseStore):
         """
         key_id = "%s:%s" % (verify_key.alg, verify_key.version)
 
+        # XXX fix this to not need a lock (#3819)
         def _txn(txn):
             self._simple_upsert_txn(
                 txn,