Skip to content
Snippets Groups Projects
Commit 10aaa1bc authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

_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.
parent cdc9e50a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment