summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-02 17:57:04 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-02 17:57:04 +0100
commitc7a7cdf7346c9268b1d4f483b31e1fdc39b6d7e0 (patch)
tree0981bb47e64f47f3a4e57b4010f5fcb4743824d0 /synapse/app
parentTest ratelimiter (diff)
downloadsynapse-c7a7cdf7346c9268b1d4f483b31e1fdc39b6d7e0.tar.xz
Add ratelimiting function to basehandler
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 606c9c650d..8a7cd07fec 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -247,6 +247,7 @@ def setup():
         upload_dir=os.path.abspath("uploads"),
         db_name=config.database_path,
         tls_context_factory=tls_context_factory,
+        config=config,
     )
 
     hs.register_servlets()