summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-08-30 15:31:51 +0100
committerDavid Robertson <davidr@element.io>2022-08-30 15:31:51 +0100
commit4249082eed54a0fe6412ab303409511ea759dd76 (patch)
tree50a2ed0105994bdf522bf3232293931b559fdb92 /synapse/server.py
parentClarify documentation about replication traffic. (#13656) (diff)
parentUpdate changes (diff)
downloadsynapse-4249082eed54a0fe6412ab303409511ea759dd76.tar.xz
Merge branch 'release-v1.66' into develop
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py4
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