You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The problem is the CalculateDeltaNode makes a blocking call to the timeseriesService.findLatestSync
This blocks rule-dispatcher worker thread(s) and reduces the rule engine's overall performance and latency.
Describe the solution you'd like
Refactor the rule-node to call a truly async functions only
Remove or deprecate timeseriesService.findLatestSync as it is only place that uses
Describe alternatives you've considered
See the MathNode implementation on how to maintain ordered async executions in a non-blocking way
Additional context
ThingsBoard 3.6.2
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The problem is the
CalculateDeltaNode
makes a blocking call to thetimeseriesService.findLatestSync
This blocks
rule-dispatcher
worker thread(s) and reduces the rule engine's overall performance and latency.Describe the solution you'd like
Refactor the rule-node to call a truly async functions only
Remove or deprecate
timeseriesService.findLatestSync
as it is only place that usesDescribe alternatives you've considered
See the MathNode implementation on how to maintain ordered async executions in a non-blocking way
Additional context
ThingsBoard 3.6.2
The text was updated successfully, but these errors were encountered: