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

bugfix: prevent duplicate analytics entries by sequential executions #3249

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

nakedfool
Copy link
Contributor

Closes #3166

After i did some research, it could be that Promise.all could introduce duplicate behaviour here, so we replaced Promise.all with sequential await calls in order to try and prevent it.

Let's make sure that analytics operations complete one at a time to avoid possible race conditions and duplicate entries.

Copy link
Member

@siobh9 siobh9 left a comment

Choose a reason for hiding this comment

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

lgtm, yeah probably a good idea!

@nakedfool nakedfool merged commit e35afb7 into staging Jan 21, 2025
3 checks passed
@nakedfool nakedfool deleted the bugfix/duplicate-and-erroneous-db-entries branch January 21, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: duplicate and erroneous db entries
2 participants