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

misc: remove tev dependency for lan control & fixs #333

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

Conversation

chemwolf6922
Copy link
Contributor

@chemwolf6922 chemwolf6922 commented Dec 21, 2024

Why is this change made

Lan and mips uses a python version of tev. Since asyncio is already used in the project, it is better to align the event loop to the same solution.

Changes

  • Change Lan's event loop to asyncio
  • Change IPC to asyncio's call_soon_threadsafe
  • Fix type errors related to Lan.
  • Fix racing condition in Lan initialization

Tests

  • Unit test passed with my central gateway.

Please help test this in a more complex environment.

@chemwolf6922 chemwolf6922 changed the title misc: remove tev dependency misc: remove tev dependency for lan control Dec 21, 2024
@chemwolf6922 chemwolf6922 marked this pull request as ready for review December 22, 2024 11:55
@chemwolf6922 chemwolf6922 changed the title misc: remove tev dependency for lan control misc: remove tev dependency for lan control & fixs Dec 22, 2024
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

Successfully merging this pull request may close these issues.

3 participants