mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +01:00
ProcessManager: remove debug statement
This commit is contained in:
parent
eb94c566b9
commit
7b0f192d8e
@ -115,7 +115,6 @@ sub kill_cmd {
|
|||||||
my $now = time;
|
my $now = time;
|
||||||
foreach my $pid (sort keys %{$self->{processes}}) {
|
foreach my $pid (sort keys %{$self->{processes}}) {
|
||||||
my $process = $self->{processes}->{$pid};
|
my $process = $self->{processes}->{$pid};
|
||||||
print "$pid: running time " . $now - $process->{process_start} . " and kill time: $kill_time\n";
|
|
||||||
next if defined $kill_time and $now - $process->{process_start} < $kill_time;
|
next if defined $kill_time and $now - $process->{process_start} < $kill_time;
|
||||||
push @pids, $pid;
|
push @pids, $pid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user