Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Recurrent error with 'sensor_history.get' MQ request #542
In my plugin flowmeter, I use 'sensor_history.get' MQ request to calculate sum per interval every 5mn
my call in plugin is like this:
Same error with avg selector.
In the plugin there are 3 devices * 4 call of this request. I catch this error in the plugin log.
Here are the errors reported from midnight to 4h20:
this error crashes the other MQ requests if at the same time
I could not find the reason
No, still have this error.
What I modified:
for information, if I use REST for the same requests in my plugin, I have no problem
hmm, this is as expected
for these commands rest is going directly to the database, so there is no MQ in the background, so its normal that you don't see this in a rest request.
To be honest i don't think we can really fix this, its sql thats to slow to return the data.