Added short pause before starting to allow shared memory to begin.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@356 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-17 10:34:12 +00:00
parent 259f6a5eb4
commit e8e4dbf288
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ use constant ZM_FROM_EMAIL => <from zmconfig>;
use constant EVENT_PATH => ZM_PATH_WEB.'/'.ZM_DIR_EVENTS;
use constant LOG_FILE => ZM_PATH_LOGS.'/zmfilter-%d.log';
use constant START_DELAY => 5; # How long to wait before starting
use constant VERBOSE => 0; # Whether to output more verbose debug
if ( ZM_OPT_UPLOAD )
@ -299,6 +300,8 @@ if ( !$event_id )
}
print( "Scanning for events since id $event_id\n" );
sleep( START_DELAY );
my $filters = GetFilters( $monitor );
my $last_action = 0;