summary refs log tree commit diff
path: root/synapse/app/media_repository.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-09-15 15:01:47 +0100
committerGitHub <noreply@github.com>2016-09-15 15:01:47 +0100
commit241d7d2d62c760e9aa93f776b76f70fc8c60ba6a (patch)
tree59943f9ff79c63d6364b89ecd3329f5c49c61b3d /synapse/app/media_repository.py
parentMerge pull request #1123 from matrix-org/erikj/public_room_cache (diff)
parentEnable state caches on workers (diff)
downloadsynapse-241d7d2d62c760e9aa93f776b76f70fc8c60ba6a.tar.xz
Merge pull request #1124 from matrix-org/erikj/enable_state_caching_workers
Enable state caches on workers
Diffstat (limited to 'synapse/app/media_repository.py')
-rw-r--r--synapse/app/media_repository.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py
index 9d4c4a0750..6e5ec01c6c 100644
--- a/synapse/app/media_repository.py
+++ b/synapse/app/media_repository.py
@@ -188,6 +188,7 @@ def start(config_options):
             reactor.run()
 
     def start():
+        ss.get_state_handler().start_caching()
         ss.get_datastore().start_profiling()
         ss.replicate()