taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Tango extension image devices resubscribe at every frame #1097

Closed tiagocoutinho closed 4 years ago

tiagocoutinho commented 4 years ago

The tango extension taurus.core.tango.img devices at each frame received subscribe and unsubscribe to configuration events. In the frame handler code there is a temporary access to the image attribute which triggers this call. As frames can arrive at a frequent pace this slows down considerable and, more importantly, triggers the tango-controls/pytango#292.

The fix should be simple: just keep a reference to the attribute in the device. I can make a PR