mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Only check for offline cameras after 60s of uptime
This commit is contained in:
parent
53b31224c1
commit
b29757544c
@ -133,7 +133,7 @@ export function useCameraActivity(
|
||||
return false;
|
||||
}
|
||||
|
||||
return cameras[camera.name].camera_fps == 0;
|
||||
return cameras[camera.name].camera_fps == 0 && stats["service"].uptime > 60;
|
||||
}, [camera, stats]);
|
||||
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user