diff options
author | David Robertson <davidr@element.io> | 2022-08-30 15:31:51 +0100 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-08-30 15:31:51 +0100 |
commit | 4249082eed54a0fe6412ab303409511ea759dd76 (patch) | |
tree | 50a2ed0105994bdf522bf3232293931b559fdb92 /synapse/server.py | |
parent | Clarify documentation about replication traffic. (#13656) (diff) | |
parent | Update changes (diff) | |
download | synapse-4249082eed54a0fe6412ab303409511ea759dd76.tar.xz |
Merge branch 'release-v1.66' into develop
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py index 181984a1a4..c2e55bf0b1 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -756,7 +756,9 @@ class HomeServer(metaclass=abc.ABCMeta): @cache_in_self def get_federation_ratelimiter(self) -> FederationRateLimiter: return FederationRateLimiter( - self.get_clock(), config=self.config.ratelimiting.rc_federation + self.get_clock(), + config=self.config.ratelimiting.rc_federation, + metrics_name="federation_servlets", ) @cache_in_self |