8000 Events get dispatched to server even if processing them fails · Issue #3 · MrLoh/event-sync · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Events get dispatched to server even if processing them fails #3

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

Open
MrLoh opened this issue Sep 14, 2023 · 0 comments
Open

Events get dispatched to server even if processing them fails #3

MrLoh opened this issue Sep 14, 2023 · 0 comments

Comments

@MrLoh
Copy link
Owner
MrLoh commented Sep 14, 2023

Because events get processed and recorded in parallel once they are on the event bus. They can get recorded on the server but fail processing and updating the state and thus not even being recorded locally. Either they should be recorded before they are processed and send to the server or they should only get send to the server after processing but that is tricky because events that don't come from the same device also need to be processed.

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

No branches or pull requests

1 participant
0