diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-14 16:54:35 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-14 16:54:35 +0100 |
commit | 1d566edb81e1dffea026d4e603a12cee664a8eda (patch) | |
tree | cd5487b49933a00ea255dd8df15ca94e293922f1 /synapse/storage/engines/sqlite3.py | |
parent | Call from right thread (diff) | |
download | synapse-1d566edb81e1dffea026d4e603a12cee664a8eda.tar.xz |
Remove race condition
Diffstat (limited to 'synapse/storage/engines/sqlite3.py')
-rw-r--r-- | synapse/storage/engines/sqlite3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/engines/sqlite3.py b/synapse/storage/engines/sqlite3.py index ff13d8006a..d18e2808d1 100644 --- a/synapse/storage/engines/sqlite3.py +++ b/synapse/storage/engines/sqlite3.py @@ -17,6 +17,8 @@ from synapse.storage import prepare_database, prepare_sqlite3_database class Sqlite3Engine(object): + single_threaded = True + def __init__(self, database_module): self.module = database_module |