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

Added mutex lock to budget withdrawal to prevent race conditions #1601

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

elraphty
Copy link
Contributor

@elraphty elraphty commented Mar 8, 2024

Describe your changes

This PR adds a Lock for each business logic request, to prevent race conditions on the budget withdrawal.

Issue ticket number and link

Closes #1600

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested on Chrome and Firefox
  • I have tested on a mobile device

@elraphty elraphty merged commit aeb39f9 into master Mar 8, 2024
3 checks passed
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.

Add Mutex Lock To Budget Withdrawal
1 participant