fix: correct OpenWrt API metadata and earliest sample queries [CI]
This commit is contained in:
1 parent
cd193378a6
commit
0066a947da
6 files changed
+85
-11
No files matched your search
@@ -79,16 +79,15 @@ public sealed class RowLoader
|
||||
|
||||
if (earliest is null || at < earliest.Value + width)
|
||||
{
|
||||
earliest = earliest is null ? at : Math.Min(earliest.Value, at);
|
||||
earliest = at;
|
||||
width = level.WidthMs();
|
||||
}
|
||||
|
||||
width = level.WidthMs();
|
||||
}
|
||||
|
||||
long? hot = _hot.GetRange(agent, series, nowMs - Steps.Hour, nowMs + 10_000).Select(r => (long?)r.Key).Min();
|
||||
if (hot is { } h && (earliest is null || h < earliest.Value + width))
|
||||
{
|
||||
earliest = earliest is null ? h : Math.Min(earliest.Value, h);
|
||||
earliest = h;
|
||||
}
|
||||
|
||||
return earliest;
|
||||
|
||||
Reference in new issue
Block a user