diff --git a/frigate_camera_control_bridge/static/app.js b/frigate_camera_control_bridge/static/app.js index 3c491d0..52f670d 100644 --- a/frigate_camera_control_bridge/static/app.js +++ b/frigate_camera_control_bridge/static/app.js @@ -1,4 +1,4 @@ -const SNAPSHOT_REFRESH_DELAY_MS = 2000; +const SNAPSHOT_REFRESH_DELAY_MS = 5000; function formatRemaining(totalSeconds) { const seconds = Math.max(0, Math.ceil(totalSeconds)); diff --git a/tests/test_ui_render.py b/tests/test_ui_render.py index d65568e..36c0c26 100644 --- a/tests/test_ui_render.py +++ b/tests/test_ui_render.py @@ -118,7 +118,7 @@ class UiRenderTest(unittest.TestCase): def test_manual_snapshot_refresh_waits_before_fetch(self): script = Path("frigate_camera_control_bridge/static/app.js").read_text(encoding="utf-8") - self.assertIn("SNAPSHOT_REFRESH_DELAY_MS = 2000", script) + self.assertIn("SNAPSHOT_REFRESH_DELAY_MS = 5000", script) self.assertIn("window.setTimeout", script)