summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/homeserver.py1
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,))