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