Retrying in SERIALIZABLE isolation level #1263
andrew222651
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following snippets implement a retry loop for transactions in SERIALIZABLE isolation level to handle serialization anomaly errors. I'd be curious if anyone else has an alternative method.
db.py
:app.py
:Beta Was this translation helpful? Give feedback.
All reactions