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

Bank/economy updates can cause race conditions #653

Open
alyphen opened this issue Sep 3, 2023 · 0 comments
Open

Bank/economy updates can cause race conditions #653

alyphen opened this issue Sep 3, 2023 · 0 comments
Labels
Milestone

Comments

@alyphen
Copy link
Member

alyphen commented Sep 3, 2023

There is no locking at the database level for bank & economy updates at the moment.
A getAndUpdate function should be introduced to both bank and economy services that provides a callback for updating balance.

@alyphen alyphen added the bug label Sep 3, 2023
@alyphen alyphen added this to the v2.4.3 milestone Sep 3, 2023
@dmccoystephenson dmccoystephenson modified the milestones: v2.4.3, v2.4.4 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants