Modified zmwatch options.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@303 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-13 11:50:27 +00:00
parent f5aa462fa2
commit b36b2c9fc4
1 changed files with 4 additions and 11 deletions

View File

@ -359,17 +359,10 @@ my @options =
type => $types{integer}, type => $types{integer},
}, },
{ {
name => "ZM_WATCH_NUM_BAD_CHECKS", name => "ZM_WATCH_MAX_DELAY",
default => "3", default => "5",
description => "How many bad daemon checks before we restart", description => "The maximum delay since the last captured image we will allow before restarting the capture daemons",
help => "The zmwatch daemon checks the image capture performance of the capture daemons to ensure that they have not locked up (rarely a sync error may occur which blocks indefinately). This option determines how many consecutive checks a daemon should fail before being restarted. The default value of 3 allows periodic restarts of the daemons to be ignored by zmwatch.", help => "The zmwatch daemon checks the image capture performance of the capture daemons to ensure that they have not locked up (rarely a sync error may occur which blocks indefinately). This option determines the maximum delay we will allow since the last captured frame. The daemon will be restarted if it has not captured any images after this period though the actual restart may take slightly longer in conjunction with the check interval value above.",
type => $types{integer},
},
{
name => "ZM_WATCH_MIN_FPS",
default => "0.5",
description => "The minimum FPS we will allow before restarting the capture daemons",
help => "The zmwatch daemon checks the image capture performance of the capture daemons to ensure that they have not locked up (rarely a sync error may occur which blocks indefinately). This option determines what the minimum number of captured frames per second is considered valid. Generally if a lockup occurs the FPS will go to zero but setting this slightly higher will permit slightly earlier detection.",
type => $types{decimal}, type => $types{decimal},
}, },
{ {