mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 15:44:10 -04:00
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.
This commit is contained in:
parent
936e69825a
commit
5a153772c1
9 changed files with 16 additions and 18 deletions
|
@ -136,7 +136,7 @@ class FederationServer(FederationBase):
|
|||
) # type: ResponseCache[Tuple[str, str]]
|
||||
|
||||
self._federation_metrics_domains = (
|
||||
hs.get_config().federation.federation_metrics_domains
|
||||
hs.config.federation.federation_metrics_domains
|
||||
)
|
||||
|
||||
async def on_backfill_request(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue