mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
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:
parent
9ba2bf1570
commit
d5fb561709
3 changed files with 14 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue