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: Ensure consistent results when retrieving list of devices and sensors concurrently #48

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

hostcc
Copy link
Owner

@hostcc hostcc commented Dec 28, 2024

  • G90.get_sensors() and G90.get_devices() methods now use locks to ensure consistent results when called concurrently. This change is necessary to prevent duplicated entries in the resulting list or redundant exchanges with the panel when the methods are called concurrently.
  • tox: Skip using cat to show pylint report to the standard output - recent versions of the tool support such output natively

…nsors concurrently

* `G90.get_sensors()` and `G90.get_devices()` methods now use locks to ensure
   consistent results when called concurrently. This change is necessary to
   prevent duplicated entries in the resulting list or redundant exchanges
   with the panel when the methods are called concurrently.
* `tox`: Skip using `cat` to show `pylint` report to the standard output -
   recent versions of the tool support such output natively
@hostcc hostcc added the bug Something isn't working label Dec 28, 2024
@hostcc hostcc self-assigned this Dec 28, 2024
@hostcc hostcc merged commit 9663eed into master Dec 28, 2024
11 checks passed
@hostcc hostcc deleted the fix/concurrent-get-devices-sensors branch December 28, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant