mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-31 08:09:02 +03:00
Various tweaks (#17978)
* Fix NPU stats * Add global camera specific h265 note * Update record docs for apple compatibility * remove * Remove non-in progress requirement
This commit is contained in:
@@ -127,7 +127,6 @@ export default function Explore() {
|
||||
limit:
|
||||
Object.keys(searchSearchParams).length == 0 ? API_LIMIT : undefined,
|
||||
timezone,
|
||||
in_progress: 0,
|
||||
include_thumbnails: 0,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -391,7 +391,7 @@ export default function GeneralMetrics({
|
||||
series[key] = { name: key, data: [] };
|
||||
}
|
||||
|
||||
if (stats.npu) {
|
||||
if (stats?.npu) {
|
||||
hasValidNpu = true;
|
||||
series[key].data.push({ x: statsIdx + 1, y: stats.npu });
|
||||
}
|
||||
@@ -585,8 +585,8 @@ export default function GeneralMetrics({
|
||||
</div>
|
||||
|
||||
{(statsHistory.length == 0 ||
|
||||
statsHistory[0].gpu_usages ||
|
||||
statsHistory[0].npu_usages) && (
|
||||
gpuSeries.length > 0 ||
|
||||
npuSeries.length > 0) && (
|
||||
<>
|
||||
<div className="mt-4 flex items-center justify-between">
|
||||
<div className="text-sm font-medium text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user