summary refs log tree commit diff
path: root/synapse/app/federation_reader.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-15 14:31:22 +0100
committerErik Johnston <erik@matrix.org>2016-09-15 14:31:22 +0100
commit4be85281f9aa34871e8c04f8d34f734fbc20840b (patch)
treebb8fac906699f9a48feb3205788505528de58fe5 /synapse/app/federation_reader.py
parentMerge pull request #1122 from matrix-org/erikj/public_room_cache (diff)
downloadsynapse-4be85281f9aa34871e8c04f8d34f734fbc20840b.tar.xz
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()