Skip to content
Snippets Groups Projects
Commit 416a3e6c authored by Erik Johnston's avatar Erik Johnston
Browse files

Ensure check_same_thread is enabled for sqlite3

parent 8558e1ec
No related branches found
No related tags found
No related merge requests found
...@@ -372,6 +372,7 @@ def setup(config_options): ...@@ -372,6 +372,7 @@ def setup(config_options):
db_config.setdefault("args", {}).update({ db_config.setdefault("args", {}).update({
"cp_min": 1, "cp_min": 1,
"cp_max": 1, "cp_max": 1,
"check_same_thread": False,
}) })
else: else:
raise RuntimeError("Unsupported database type '%s'" % (name,)) raise RuntimeError("Unsupported database type '%s'" % (name,))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment