diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-27 12:40:49 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-27 12:40:49 +0100 |
commit | e4c4664d73abd260264f51a0645281d21afc358e (patch) | |
tree | 684e22581ba19acd588a75cc9ab42ff4adef3172 /synapse/storage/engines/sqlite3.py | |
parent | Revert needless change to rest.profile (diff) | |
download | synapse-e4c4664d73abd260264f51a0645281d21afc358e.tar.xz |
Handle the fact that postgres databases can be restarted from under us
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 72c11df461..39828a597c 100644 --- a/synapse/storage/engines/sqlite3.py +++ b/synapse/storage/engines/sqlite3.py @@ -35,3 +35,6 @@ class Sqlite3Engine(object): def is_deadlock(self, error): return False + + def is_connection_closed(self, conn): + return False |