summary refs log tree commit diff
path: root/synapse/app/media_repository.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-13 11:08:10 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 11:08:10 +0000
commitd023ecb8109718cd95c4dd86e916a459fc610547 (patch)
tree3d2cba25b19bd87e00c619eb0316f6a70acd2f1a /synapse/app/media_repository.py
parentRemove unused ReplicationLayer (diff)
downloadsynapse-d023ecb8109718cd95c4dd86e916a459fc610547.tar.xz
Don't build handlers on workers unnecessarily
Diffstat (limited to 'synapse/app/media_repository.py')
-rw-r--r--synapse/app/media_repository.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py
index 1ed1ca8772..84c5791b3b 100644
--- a/synapse/app/media_repository.py
+++ b/synapse/app/media_repository.py
@@ -158,7 +158,6 @@ def start(config_options):
     )
 
     ss.setup()
-    ss.get_handlers()
     ss.start_listening(config.worker_listeners)
 
     def start():