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

Fix: prevent orders from being validated and saved independently and twice. #38

Open
makaleks opened this issue Jul 19, 2020 · 0 comments
Labels
new-version-blocker If open, this must be implemented for the next version tag

Comments

@makaleks
Copy link
Owner

Our server runs in 4 instances (workers, processes), to it is possible to save the same order twice. We need to fix it. Suggested approaches:

  • Use transactions, and validate an order before and after it is saved.
  • Use some kind of task queue
@makaleks makaleks added the new-version-blocker If open, this must be implemented for the next version tag label Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-version-blocker If open, this must be implemented for the next version tag
Projects
None yet
Development

No branches or pull requests

1 participant