summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-21 16:55:23 +0000
committerErik Johnston <erik@matrix.org>2016-11-21 16:55:23 +0000
commit50934ce4604001898707f75179dd748884659f12 (patch)
treebaf00a1d89d246fa4dd0027d10164f1479a510a1 /synapse/federation/transaction_queue.py
parentRemove explicit calls to send_pdu (diff)
downloadsynapse-50934ce4604001898707f75179dd748884659f12.tar.xz
Comments
Diffstat (limited to '')
-rw-r--r--synapse/federation/transaction_queue.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index 0b3fdc1067..c94c74a67e 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -131,6 +131,9 @@ class TransactionQueue(object):
 
     @defer.inlineCallbacks
     def notify_new_events(self, current_id):
+        """This gets called when we have some new events we might want to
+        send out to other servers.
+        """
         self._last_poked_id = max(current_id, self._last_poked_id)
 
         if self._is_processing: