summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2020-07-16 11:12:48 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2020-07-16 11:12:48 +0100
commit12528dc42fafff8aa659a06afd3f170786a3b2c7 (patch)
tree3ccad1b693b699c5c332559d313fab63ed89c3e0 /synapse/federation
parentEnsure that calls to `json.dumps` are compatible with the standard library js... (diff)
downloadsynapse-12528dc42fafff8aa659a06afd3f170786a3b2c7.tar.xz
Remove obsolete comment.
It was correct at the time of our friend Jorik writing it (checking
git blame), but the world has moved now and it is no longer a
generator.

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/sender/transaction_manager.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/federation/sender/transaction_manager.py b/synapse/federation/sender/transaction_manager.py
index a2752a54a5..8280f8b900 100644
--- a/synapse/federation/sender/transaction_manager.py
+++ b/synapse/federation/sender/transaction_manager.py
@@ -61,8 +61,6 @@ class TransactionManager(object):
         # all the edus in that transaction. This needs to be done since there is
         # no active span here, so if the edus were not received by the remote the
         # span would have no causality and it would be forgotten.
-        # The span_contexts is a generator so that it won't be evaluated if
-        # opentracing is disabled. (Yay speed!)
 
         span_contexts = []
         keep_destination = whitelisted_homeserver(destination)