use correct duration for historical states

This commit is contained in:
Pete Richards 2018-07-02 14:18:29 -07:00
parent 433dee0314
commit cc5bfda730

View File

@ -72,7 +72,7 @@ define([
var data = [];
while (start <= end && data.length < 5000) {
data.push(pointForTimestamp(start, duration, domainObject.name));
start += 5000;
start += duration;
}
return Promise.resolve(data);
};