mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-24 15:47:43 +03:00
Fix frontend querying fps
This commit is contained in:
parent
34c6e6d2ac
commit
c2043a55ef
@ -32,7 +32,12 @@ export default function CameraMetrics({
|
|||||||
// stats
|
// stats
|
||||||
|
|
||||||
const { data: initialStats } = useSWR<FrigateStats[]>(
|
const { data: initialStats } = useSWR<FrigateStats[]>(
|
||||||
["stats/history", { keys: "cpu_usages,cameras,detection_fps,service" }],
|
[
|
||||||
|
"stats/history",
|
||||||
|
{
|
||||||
|
keys: "cpu_usages,cameras,camera_fps,detection_fps,skipped_fps,service",
|
||||||
|
},
|
||||||
|
],
|
||||||
{
|
{
|
||||||
revalidateOnFocus: false,
|
revalidateOnFocus: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user