diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-06-20 17:53:38 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-06-20 17:53:38 +0100 |
commit | d5fb561709cf2181cd5b8fffd2cf70a3fb52e5ab (patch) | |
tree | a4b7a78c9c6b8ce7e1079fd8e681a6e0aab9e908 /synapse/storage/engines/sqlite3.py | |
parent | Merge pull request #878 from matrix-org/erikj/ujson (diff) | |
download | synapse-d5fb561709cf2181cd5b8fffd2cf70a3fb52e5ab.tar.xz |
Optionally make committing to postgres asynchronous.
Useful when running tests when you don't care whether the server will lose data that it claims that it has committed.
Diffstat (limited to 'synapse/storage/engines/sqlite3.py')
-rw-r--r-- | synapse/storage/engines/sqlite3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/engines/sqlite3.py b/synapse/storage/engines/sqlite3.py index 14203aa500..755c9a1f07 100644 --- a/synapse/storage/engines/sqlite3.py +++ b/synapse/storage/engines/sqlite3.py @@ -21,7 +21,7 @@ import struct class Sqlite3Engine(object): single_threaded = True - def __init__(self, database_module): + def __init__(self, database_module, database_config): self.module = database_module def check_database(self, txn): |