-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Actions are applied sequentialy #92
Comments
As an async apply_action doesn't prevent the lock, I propose to add an execution queue to tahoma_device entities, and only perform the update once the queue is empty. Having `update` instead of `schedule_update` line 97 doesn't prevent the lock... Related Github issues: #92
This has been tested with covers on my end, but would need further testing, and might not be the best solution... |
Also clear the exec_queue if it's not executing anymore. Related Github issues: #92
Describe the bug
When triggering multiple actions in a short time period, actions are executed sequentially by the box instead of concurrently.
Expected behavior
Action should be able to execute at once on independent devices.
Additional context
This probably relates to the introduction of this part in apply_action:
This relates to #90 (2)
The text was updated successfully, but these errors were encountered: