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

[mercedesme] Websocket decoupling #17753

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

weymann
Copy link
Contributor

@weymann weymann commented Nov 17, 2024

Warnings from MercedesMe websocket reported in community, After analysis design flaw in current binding needs to solved:
Websocket thread is performing the complete chain from reading bytestream up to channel updates. While this other messages are dismissed
Structural change to free websocket thread as early as possible:

  1. Websocket thread responsible for reading stream in bytes and enqueue for AccountHandler.
  2. AccountHamdler thread responsible for encoding proto message. In case of update enqueue proto message at VehicleHandöer
  3. VehicleHandler responsible to update channels

@weymann weymann changed the title Mercedesme socket decoupling [WIP][mercedesme] Websocket decoupling Nov 17, 2024
@weymann weymann changed the title [WIP][mercedesme] Websocket decoupling [mercedesme] Websocket decoupling Nov 17, 2024
@lsiepel lsiepel added the enhancement An enhancement or new feature for an existing add-on label Nov 17, 2024
Signed-off-by: Bernd Weymann <[email protected]>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some minor comments. Otherwise LGTM

@weymann
Copy link
Contributor Author

weymann commented Nov 23, 2024

Got some negative feedback which I still want to investigate. Please wait with merging!

Signed-off-by: Bernd Weymann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants