diff options
author | Travis Ralston <travpc@gmail.com> | 2018-07-30 16:24:02 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-07-30 16:28:47 -0600 |
commit | e908b8683248328dd92479fc81be350336b9c8f4 (patch) | |
tree | cc5457c24bff92c33d90411d11ff83f07f74d037 /synapse/federation/transport | |
parent | make /context lazyload & filter aware (#3567) (diff) | |
download | synapse-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')
-rw-r--r-- | synapse/federation/transport/server.py | 3 |
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. |