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

Prevent command concurrency #37

Open
ptitFicus opened this issue Jul 14, 2021 · 0 comments
Open

Prevent command concurrency #37

ptitFicus opened this issue Jul 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ptitFicus
Copy link
Member

In some scenarios, commands should not be run concurrently.

There is several possible needs :

  • Command should not be run concurrently with other commands of the same type on the same id
  • Command should not be run concurrently with any other command on the same id

There is also several way to handle concurrent command :

  • Keep second command waiting until events generated by the first command are consumed
  • Reject second command
@ptitFicus ptitFicus added the enhancement New feature or request label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant