summary refs log tree commit diff
path: root/synapse/storage/engines/sqlite3.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-06-20 17:53:38 +0100
committerMark Haines <mark.haines@matrix.org>2016-06-20 17:53:38 +0100
commitd5fb561709cf2181cd5b8fffd2cf70a3fb52e5ab (patch)
treea4b7a78c9c6b8ce7e1079fd8e681a6e0aab9e908 /synapse/storage/engines/sqlite3.py
parentMerge pull request #878 from matrix-org/erikj/ujson (diff)
downloadsynapse-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.py2
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):