TA2k/ioBroker.fronius-solarweb

SendMessage inMessage blocked while the adapter fetches data

Opened this issue · 0 comments

usually, sendMessage onMessage takes a few ms to send a message, and deliver a response.
If the adapter is enabled, I get timeouts in the exact same interval the adapter updates data.
It seems like the adapter does some processing that blocks for ~5000-6000ms and no messages can be delivered while updateDevices is called. (Maybe due to the await in the code?")

How can this issue be solved?