Skip to content
Snippets Groups Projects
Commit 241d7d2d authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #1124 from matrix-org/erikj/enable_state_caching_workers

Enable state caches on workers
parents 1535f21e 4be85281
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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()
......
......@@ -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()
......
......@@ -188,6 +188,7 @@ def start(config_options):
reactor.run()
def start():
ss.get_state_handler().start_caching()
ss.get_datastore().start_profiling()
ss.replicate()
......
......@@ -276,6 +276,7 @@ def start(config_options):
ps.replicate()
ps.get_pusherpool().start()
ps.get_datastore().start_profiling()
ps.get_state_handler().start_caching()
reactor.callWhenRunning(start)
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment