summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-04 18:09:03 +0100
committerErik Johnston <erik@matrix.org>2021-05-04 18:09:03 +0100
commitfc17e4e62e6d4649de2a105f269eafa448c23c84 (patch)
tree7718a8aefc2e08276ff34567b0b9b6fbc8a7e350
parentfix logging contexts (diff)
downloadsynapse-fc17e4e62e6d4649de2a105f269eafa448c23c84.tar.xz
fix logging contexts
-rw-r--r--synapse/crypto/keyring.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py
index eb88873eac..03d6664a87 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -203,12 +203,13 @@ class Keyring:
     ) -> List[defer.Deferred]:
         return [
             defer.ensureDeferred(
-                self._verify_object(
+                run_in_background(
+                    self._verify_object,
                     VerifyJsonRequest.from_json_object(
                         server_name,
                         validity_time,
                         json_object,
-                    )
+                    ),
                 )
             )
             for server_name, json_object, validity_time, request_name in server_and_json