summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-24 14:44:49 +0000
committerErik Johnston <erik@matrix.org>2017-03-24 14:44:49 +0000
commit2a28b79e04531f2630432e6a710db3ddc434ad8e (patch)
tree853e025f9ca0d8587c3c4d612572159f4f8b47bf /synapse/federation
parentMerge pull request #2062 from matrix-org/erikj/presence_replication (diff)
downloadsynapse-2a28b79e04531f2630432e6a710db3ddc434ad8e.tar.xz
Batch sending of device list pokes
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transaction_queue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index d7ecefcc64..2c96475b2a 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -309,6 +309,7 @@ class TransactionQueue(object):
             # XXX: what's this for?
             yield run_on_reactor()
 
+            pending_pdus = []
             while True:
                 device_message_edus, device_stream_id, dev_list_id = (
                     yield self._get_new_device_messages(destination)