We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To avoid race conditions on the budget withdrawal, lock the Business logic to make sure only one call can be made at a time
Use Golang mutex lock to lock the Business logic for each request.
Here is an example backend test
The text was updated successfully, but these errors were encountered:
elraphty
Successfully merging a pull request may close this issue.
Context
To avoid race conditions on the budget withdrawal, lock the Business logic to make sure only one call can be made at a time
Design
Use Golang mutex lock to lock the Business logic for each request.
Acceptance Criteria
Here is an example backend test
The text was updated successfully, but these errors were encountered: