summary refs log tree commit diff
path: root/synapse/federation/sender/transaction_manager.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-04-14 19:09:08 +0100
committerGitHub <noreply@github.com>2021-04-14 19:09:08 +0100
commit5a153772c197a689df6c087e49d7bd8beee5dbdd (patch)
treed87bd79d00c64e4cfb65555b52f5531ad6f06508 /synapse/federation/sender/transaction_manager.py
parentSeparate creating an event context from persisting it in the federation handl... (diff)
downloadsynapse-5a153772c197a689df6c087e49d7bd8beee5dbdd.tar.xz
remove `HomeServer.get_config` (#9815)
Every single time I want to access the config object, I have to remember
whether or not we use `get_config`. Let's just get rid of it.
Diffstat (limited to 'synapse/federation/sender/transaction_manager.py')
-rw-r--r--synapse/federation/sender/transaction_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/sender/transaction_manager.py b/synapse/federation/sender/transaction_manager.py
index 12fe3a719b..72a635830b 100644
--- a/synapse/federation/sender/transaction_manager.py
+++ b/synapse/federation/sender/transaction_manager.py
@@ -56,7 +56,7 @@ class TransactionManager:
         self._transport_layer = hs.get_federation_transport_client()
 
         self._federation_metrics_domains = (
-            hs.get_config().federation.federation_metrics_domains
+            hs.config.federation.federation_metrics_domains
         )
 
         # HACK to get unique tx id