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.
This commit is contained in:
Mark Haines 2016-06-20 17:53:38 +01:00
parent 9ba2bf1570
commit d5fb561709
3 changed files with 14 additions and 3 deletions

View file

@ -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):