cleanup
This commit is contained in:
parent
d55612b290
commit
f7f4385d5d
1 changed files with 0 additions and 4 deletions
|
@ -388,10 +388,6 @@ public class IobCobCalculatorPlugin extends PluginBase {
|
||||||
//log.debug(">>> getAutosensData Cache hit " + data.log(time));
|
//log.debug(">>> getAutosensData Cache hit " + data.log(time));
|
||||||
return data;
|
return data;
|
||||||
} else {
|
} else {
|
||||||
if (time > now) {
|
|
||||||
// data may not be calculated yet, use last data
|
|
||||||
return getLastAutosensData("getAutosensData");
|
|
||||||
}
|
|
||||||
//log.debug(">>> getAutosensData Cache miss " + new Date(time).toLocaleString());
|
//log.debug(">>> getAutosensData Cache miss " + new Date(time).toLocaleString());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue