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

fix: last seen deadlocks #5264

Merged
merged 1 commit into from
Nov 3, 2023
Merged

fix: last seen deadlocks #5264

merged 1 commit into from
Nov 3, 2023

Conversation

FredrikOseberg
Copy link
Contributor

Sort the items before inserting them into the database in order to reduce the chance of deadlocks happening when multiple pods are inserting at the same time.

Copy link

vercel bot commented Nov 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2023 0:59am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2023 0:59am

Copy link
Contributor

@andreas-unleash andreas-unleash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FredrikOseberg FredrikOseberg merged commit 1d9a671 into main Nov 3, 2023
8 checks passed
@FredrikOseberg FredrikOseberg deleted the fix/last-seen-dl branch November 3, 2023 13:06
FredrikOseberg added a commit that referenced this pull request Nov 3, 2023
Sort the items before inserting them into the database in order to
reduce the chance of deadlocks happening when multiple pods are
inserting at the same time.
FredrikOseberg added a commit that referenced this pull request Nov 3, 2023
Patch unleash last seen at logic
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.

2 participants