summary refs log tree commit diff
path: root/res/templates
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-11-16 15:30:15 +0000
committerRichard van der Hoff <richard@matrix.org>2017-11-16 15:30:15 +0000
commit10aaa1bc15775a228ce22ab45efbb55b5099289b (patch)
tree5874f1f23416fc5c046f25d73dc098ecfd00ddb1 /res/templates
parentCleanup in _simple_upsert_txn (diff)
downloadsynapse-10aaa1bc15775a228ce22ab45efbb55b5099289b.tar.xz
_simple_upsert: retry on IntegrityError
wrap the call to _simple_upsert_txn in a loop so that we retry on an
integrityerror: this means we can avoid locking the table provided there is an
unique index.
Diffstat (limited to 'res/templates')
0 files changed, 0 insertions, 0 deletions