Ver código fonte

disable nowait in tile module

Roman Dmitriev 3 anos atrás
pai
commit
25290b37d3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/dhcp-log.pl

+ 1 - 1
scripts/dhcp-log.pl

@@ -98,7 +98,7 @@ if (!$pid) {
         if ( !defined $hdb ) { die "Cannot connect to mySQL server: $DBI::errstr\n"; }
 
         #parse log
-        my $dhcp_log=File::Tail->new(name=>$log_file,maxinterval=>5,interval=>1) || die "$log_file not found!";
+        my $dhcp_log=File::Tail->new(name=>$log_file,maxinterval=>5,interval=>1,nowait=>0) || die "$log_file not found!";
         while (defined(my $logline=$dhcp_log->read)) {
 
             if (!$logline) { select(undef, undef, undef, 0.15); next; }