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

Avoid race conditions when saving reactions #5968

Open
BurntimeX opened this issue Aug 1, 2024 · 0 comments
Open

Avoid race conditions when saving reactions #5968

BurntimeX opened this issue Aug 1, 2024 · 0 comments

Comments

@BurntimeX
Copy link
Member

Saving reactions is currently vulnerable to race conditions. Instead we should use INSERT INTO ON DUPLICATE KEY to save reactions.

ref https://www.woltlab.com/community/thread/287451-could-not-execute-statement-insert-into-wcf1-like-wcf1-like-object/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Minor Task
Development

No branches or pull requests

1 participant