Made runtime needs to be 10 times the start delay for it to be reset.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@786 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan committed 2004-01-27 16:59:35 +00:00
1 parent 2bdef4cf2c
commit 697aeeafe9
1 file changed
+1 -1
+1 -1
View File
@@ -375,7 +375,7 @@ if ( !connect( CLIENT, $saddr ) )
if ( $process->{keepalive} )
{
if ( !$process->{delay} || $process->{runtime} > $process->{delay} )
if ( !$process->{delay} || $process->{runtime} > (10*$process->{delay}) )
{
start( $process->{daemon}, @{$process->{args}} );
$process->{delay} = 5;