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