summary refs log tree commit diff
path: root/synapse/config/ratelimiting.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-13 12:04:46 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-13 12:04:46 +0000
commit634f6a65cb1dfb59c6e4c31a06ae4ea82dbcb809 (patch)
tree1e942ca11109279dcd2b67c99160550860a45585 /synapse/config/ratelimiting.py
parentFactor acme bits out to a separate file (#5521) (diff)
parentPass config_dir_path and data_dir_path into Config.read_config. (#5522) (diff)
downloadsynapse-634f6a65cb1dfb59c6e4c31a06ae4ea82dbcb809.tar.xz
Pass config_dir_path and data_dir_path into Config.read_config. (#5522)
Diffstat (limited to 'synapse/config/ratelimiting.py')
-rw-r--r--synapse/config/ratelimiting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/ratelimiting.py b/synapse/config/ratelimiting.py
index 2a4fe43406..4b101fbff4 100644
--- a/synapse/config/ratelimiting.py
+++ b/synapse/config/ratelimiting.py
@@ -36,7 +36,7 @@ class FederationRateLimitConfig(object):
 
 
 class RatelimitConfig(Config):
-    def read_config(self, config):
+    def read_config(self, config, **kwargs):
 
         # Load the new-style messages config if it exists. Otherwise fall back
         # to the old method.