diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-10 14:25:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-10 14:25:11 +0100 |
commit | a060dfa1324b5ec12e0af96ec090a3b997582cb2 (patch) | |
tree | 8d47961b6b09436daf6ab837cc6e93f9459b6393 | |
parent | Preserve log contexts correctly (diff) | |
download | synapse-a060dfa1324b5ec12e0af96ec090a3b997582cb2.tar.xz |
Use run_in_background instead
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/transaction_queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index 4dce984c1a..5b0b798e57 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -227,7 +227,7 @@ class TransactionQueue(object): yield logcontext.make_deferred_yieldable(defer.gatherResults( [ - logcontext.preserve_fn(handle_room_events)(evs) + logcontext.run_in_background(handle_room_events, evs) for evs in events_by_room.itervalues() ], consumeErrors=True |