getHSR method runs learning if cache of analytic unit is null or outdated. Panel requests HSR every second and creates a race condition between learning process and HSR requests.
Note: cache can't be outdated because learning started on each unit's update if it required in class definition.
Changes
don't return response with HSR if analytic unit in LEARNING state
fixes #757
Problem
getHSR
method runs learning if cache of analytic unit isnull
or outdated. Panel requests HSR every second and creates a race condition between learning process and HSR requests. Note: cache can't be outdated because learning started on each unit's update if it required in class definition.Changes
LEARNING
stateisCacheOutdated