summary refs log tree commit diff
path: root/synapse/app/federation_reader.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/federation_reader.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/federation_reader.py')
-rw-r--r--synapse/app/federation_reader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/federation_reader.py b/synapse/app/federation_reader.py
index 7355499ae2..1f5ae1937e 100644
--- a/synapse/app/federation_reader.py
+++ b/synapse/app/federation_reader.py
@@ -182,6 +182,7 @@ def start(config_options):
             reactor.run()
 
     def start():
+        ss.get_state_handler().start_caching()
         ss.get_datastore().start_profiling()
         ss.replicate()