diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-07 15:28:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-07 15:28:37 +0100 |
commit | 49d6aa1394bba42d52cae4013f7103d682756b28 (patch) | |
tree | 6b163ad6d090be23dde9e7951bc455cb2fcfef54 /synapse/storage/engines/sqlite3.py | |
parent | PEP8 (diff) | |
download | synapse-49d6aa1394bba42d52cae4013f7103d682756b28.tar.xz |
Retry on deadlock
Diffstat (limited to 'synapse/storage/engines/sqlite3.py')
-rw-r--r-- | synapse/storage/engines/sqlite3.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/engines/sqlite3.py b/synapse/storage/engines/sqlite3.py index e802b5d5fd..72c11df461 100644 --- a/synapse/storage/engines/sqlite3.py +++ b/synapse/storage/engines/sqlite3.py @@ -32,3 +32,6 @@ class Sqlite3Engine(object): def prepare_database(self, db_conn): prepare_sqlite3_database(db_conn) prepare_database(db_conn, self) + + def is_deadlock(self, error): + return False |