diff --git a/scripts/zmdc.pl b/scripts/zmdc.pl index 7609c6625..04f25d683 100644 --- a/scripts/zmdc.pl +++ b/scripts/zmdc.pl @@ -560,7 +560,7 @@ if ( !$server_up ) if ( $process->{keepalive} ) { - if ( !$process->{delay} || ($process->{runtime} > (10*$process->{delay})) ) + if ( !$process->{delay} || ($process->{runtime} > ZM_MAX_RESTART_DELAY)) ) { #start( $process->{daemon}, @{$process->{args}} ); # Schedule for immediate restart