line |
true |
false |
branch |
42
|
0 |
0 |
if $status->{'heartbeat_interval'} |
43
|
0 |
0 |
if $status->{'command_interval'} |
44
|
0 |
0 |
if ($status->{'repair_interval'}) |
51
|
0 |
0 |
if delete $status->{'fast_start'} |
62
|
0 |
0 |
if ($_[1] // '') =~ /^\d+$/ |
64
|
0 |
0 |
if $self->{'jobs'}{$_[1] // ''} |
69
|
0 |
0 |
unless eval {
do {
$self->_work until $self->{'finished'};
1
}
} |
77
|
0 |
0 |
unless $self->{'pid'} == $$ |
79
|
0 |
0 |
unless $self->{'graceful'} = $graceful |
92
|
0 |
0 |
if ($self->{'stopping'} and not $self->{'quit'}++) |
94
|
0 |
0 |
$self->{'graceful'} ? : |
98
|
0 |
0 |
unless $self->{'graceful'} |
103
|
0 |
0 |
if ($status->{'heartbeat_interval'} and $self->{'next_heartbeat'} < &steady_time()) |
110
|
0 |
0 |
if ($status->{'command_interval'} and $self->{'next_command'} < &steady_time()) |
117
|
0 |
0 |
if ($status->{'repair_interval'} and $self->{'next_repair'} < &steady_time()) |
129
|
0 |
0 |
if $self->{'stopping'} and not keys %{$$self{'jobs'};} |
133
|
0 |
0 |
if $status->{'jobs'} <= keys %$jobs or $self->{'stopping'} |
137
|
0 |
0 |
if (my $job = $self->emit('wait')->dequeue($max, {'queues', $queues})) |