From 1c0e03b813a2550a28615b4861d931cb56003005 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 26 Oct 2024 13:59:45 -0400 Subject: [PATCH] Set the default for AnalysisFPSLimit to null so that we can empty it. Add an initial_default to use when creating a new monitor --- web/includes/Monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 2da19e952c..b93be046aa 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -292,7 +292,7 @@ public static function getStateString($option) { 'EventCloseMode' => 'system', 'FrameSkip' => 0, 'MotionFrameSkip' => 0, - 'AnalysisFPSLimit' => 2, + 'AnalysisFPSLimit' => [ 'default'=>null, 'initial_default'=>2 ], 'AnalysisUpdateDelay' => 0, 'MaxFPS' => null, 'AlarmMaxFPS' => null,