Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add retries to insert #361

Merged
merged 2 commits into from
Oct 26, 2021
Merged

add retries to insert #361

merged 2 commits into from
Oct 26, 2021

Conversation

thorfour
Copy link
Contributor

Retry inserts to avoid the race condition found in #286

I think it would be better to detect a unique constraint error and simply ignore it. But I think this works for now, as it's hard to create a database portable error detection solution.

@thorfour thorfour merged commit 2a302a4 into main Oct 26, 2021
@thorfour thorfour deleted the fix-sql-constraint branch October 26, 2021 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants