mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 00:38:30 -04:00
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:
1 parent
2bdef4cf2c
commit
697aeeafe9
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user