-
Notifications
You must be signed in to change notification settings - Fork 1
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
def switch_control(): broken from merge with develop branch #22
Comments
Hi Florian, I took a look at your comment, but it's hard to understand.
Thanks for your comments :) |
Yes, right now its doing it sequentially.
Since I also learned more about the asyncio stuff in the meantime, you can discard asyncio.create_task()
Or if you do like comprehensions, you could do it in a one liner :)
|
Yes, but I remember that we had discussion about this. Turning on and off multiple switches at one time could be dangerous on the operation system, and also there should not be some situations that we need to turn on the multiple switches at the same time accurately. Therefore, I suggest we can just make the tasks on the upper level actors.
Should we have some missing points when we do this? |
I think these are two different things, one is the actor capability of concurrently setting ports and usage - sure some hardware has to be switched on sequentially. Also I whould not use the port numbers, especially in the upper level software, on this level the used switch should even be irrelevant. Thats the reason why the name key from the config file should have a system wide unique name. Another thing, the name of the port should onyl have [A-Za-z0-9_.-] and definitely no spaces ! |
It seems the concurrent control of multiple switches in def switch_control(): has been broken by a merge with the develop branch a while ago here
The text was updated successfully, but these errors were encountered: