release v 7.94.250
moved RPI updates into parallel threads.
This accelerates the updates from ~ 40 secs to ~ 3 secs for 20 RPI.
And if there is an RPI that is offline, it will not stop updating the other RPI.
For the user it has the advantage that the regular main plugin thread is not blocked by waiting for RPI to answer and opening menus etc will not time-out in these situations.
Waiting for an answer of a disconnected RPI could be up to 15 secs. During that time the main plugin thread was waiting... not anymore.
Also fixed some smaller bugs
Karl
this was a major piece of work .. learned a lot eg
- Code: Select all
threading.Thread(name=u'nameofmethod', target=self.xxx, args=(piU,))
requires a "," in args=(piU,)) after the argument. If not present it does not work for some arguments (eg piU > 9)
strange, but that took me 1/2 day to figure out .. .. it is repeatable !! remove the "," and the thread does not start when piU > "9", with the "," it works