summary refs log tree commit diff
path: root/synapse/federation/transport/server.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-07-30 16:24:02 -0600
committerTravis Ralston <travpc@gmail.com>2018-07-30 16:28:47 -0600
commite908b8683248328dd92479fc81be350336b9c8f4 (patch)
treecc5457c24bff92c33d90411d11ff83f07f74d037 /synapse/federation/transport/server.py
parentmake /context lazyload & filter aware (#3567) (diff)
downloadsynapse-e908b8683248328dd92479fc81be350336b9c8f4.tar.xz
Remove pdu_failures from transactions
The field is never read from, and all the opportunities given to populate it are not utilized. It should be very safe to remove this.
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r--synapse/federation/transport/server.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 8574898f0c..3b5ea9515a 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -283,11 +283,10 @@ class FederationSendServlet(BaseFederationServlet):
             )
 
             logger.info(
-                "Received txn %s from %s. (PDUs: %d, EDUs: %d, failures: %d)",
+                "Received txn %s from %s. (PDUs: %d, EDUs: %d)",
                 transaction_id, origin,
                 len(transaction_data.get("pdus", [])),
                 len(transaction_data.get("edus", [])),
-                len(transaction_data.get("failures", [])),
             )
 
             # We should ideally be getting this from the security layer.