summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-08 11:07:18 +0000
committerErik Johnston <erik@matrix.org>2016-11-08 11:07:18 +0000
commit24772ba56eb2959404558fb373e3182668838298 (patch)
treed66128895262ea569056b67163aab9ec9a1dd385 /synapse/app/synchrotron.py
parentMerge pull request #1198 from euank/more-ip-blacklist (diff)
downloadsynapse-24772ba56eb2959404558fb373e3182668838298.tar.xz
Respect use_frozen_dicts option in workers
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r--synapse/app/synchrotron.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 64b209ffe6..bf1b995dc2 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -446,6 +446,8 @@ def start(config_options):
 
     setup_logging(config.worker_log_config, config.worker_log_file)
 
+    synapse.events.USE_FROZEN_DICTS = config.use_frozen_dicts
+
     database_engine = create_engine(config.database_config)
 
     ss = SynchrotronServer(