summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-29 12:17:33 +0100
committerErik Johnston <erik@matrix.org>2015-05-29 12:17:33 +0100
commita7b65bdedf512f646a3ca2478fb96a914856de35 (patch)
tree8b0336ae751d081a21b32c16f1cdb5d93f43e2fb /synapse/config/server.py
parentSYN-395: Fix CAPTCHA, don't double decode json (diff)
downloadsynapse-a7b65bdedf512f646a3ca2478fb96a914856de35.tar.xz
Add config option to turn off freezing events. Use new encode_json api and ujson.loads
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 78195b3a4f..48a26c65d9 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -28,6 +28,7 @@ class ServerConfig(Config):
         self.web_client = config["web_client"]
         self.soft_file_limit = config["soft_file_limit"]
         self.daemonize = config.get("daemonize")
+        self.use_frozen_dicts = config.get("use_frozen_dicts", True)
 
         # Attempt to guess the content_addr for the v0 content repostitory
         content_addr = config.get("content_addr")