diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-27 15:44:30 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-27 15:44:30 +0100 |
commit | 416a3e6c4f40c94cf859a07dbc4341c907aac091 (patch) | |
tree | 3849513825a7211174e62918e8f5d9377ee4ed9b /synapse/app/homeserver.py | |
parent | Make get_max_token into inlineCallbacks so that the lock works. (diff) | |
download | synapse-416a3e6c4f40c94cf859a07dbc4341c907aac091.tar.xz |
Ensure check_same_thread is enabled for sqlite3
Diffstat (limited to '')
-rwxr-xr-x | synapse/app/homeserver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 93500dd791..3709cd7bf9 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -372,6 +372,7 @@ def setup(config_options): db_config.setdefault("args", {}).update({ "cp_min": 1, "cp_max": 1, + "check_same_thread": False, }) else: raise RuntimeError("Unsupported database type '%s'" % (name,)) |