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/federation_server.py | |
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/federation_server.py')
-rw-r--r-- | synapse/federation/federation_server.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index e501251b6e..657935d1ac 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -207,10 +207,6 @@ class FederationServer(FederationBase): edu.content ) - pdu_failures = getattr(transaction, "pdu_failures", []) - for fail in pdu_failures: - logger.info("Got failure %r", fail) - response = { "pdus": pdu_results, } |