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