Skip to content

Commit

Permalink
Set the default for AnalysisFPSLimit to null so that we can empty it.…
Browse files Browse the repository at this point in the history
… Add an initial_default to use when creating a new monitor
  • Loading branch information
Isaac Connor committed Oct 26, 2024
1 parent ad582e9 commit 1c0e03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/includes/Monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1c0e03b

Please sign in to comment.