This commit is contained in:
root 2018-08-08 16:50:58 +02:00
parent be0de0d841
commit 4e1757833f

View File

@ -372,11 +372,11 @@ sub on_public {
printf CMDPIPE "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n",time(),$host,$svc,time();
printf "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n",time(),$host,$svc,time();
close CMDPIPE;
if ( scalar @ACKS <= $FLOOD_MAX )
{
usleep ( $USLEEP_TIME );
$conn->privmsg([ @to ], sprintf ( "Recheck forcé pour ack : %s du host %s: %s", $i, $host, $svc ) );
}
# if ( scalar @ACKS <= $FLOOD_MAX )
# {
# usleep ( $USLEEP_TIME );
# $conn->privmsg([ @to ], sprintf ( "Recheck forcé pour ack : %s du host %s: %s", $i, $host, $svc ) );
# }
}
if ( scalar @ACKS > $FLOOD_MAX )
{