diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-08 11:07:18 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-08 11:07:18 +0000 |
commit | 24772ba56eb2959404558fb373e3182668838298 (patch) | |
tree | d66128895262ea569056b67163aab9ec9a1dd385 /synapse/app/client_reader.py | |
parent | Merge pull request #1198 from euank/more-ip-blacklist (diff) | |
download | synapse-24772ba56eb2959404558fb373e3182668838298.tar.xz |
Respect use_frozen_dicts option in workers
Diffstat (limited to 'synapse/app/client_reader.py')
-rw-r--r-- | synapse/app/client_reader.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/client_reader.py b/synapse/app/client_reader.py index 9fccc73db3..0086a2977e 100644 --- a/synapse/app/client_reader.py +++ b/synapse/app/client_reader.py @@ -41,6 +41,8 @@ from synapse.util.rlimit import change_resource_limit from synapse.util.versionstring import get_version_string from synapse.crypto import context_factory +from synapse import events + from twisted.internet import reactor, defer from twisted.web.resource import Resource @@ -165,6 +167,8 @@ def start(config_options): setup_logging(config.worker_log_config, config.worker_log_file) + events.USE_FROZEN_DICTS = config.use_frozen_dicts + database_engine = create_engine(config.database_config) tls_server_context_factory = context_factory.ServerContextFactory(config) |