line |
!l |
l&&!r |
l&&r |
condition |
28
|
0 |
0 |
0 |
$pid and kill 0, $pid |
57
|
0 |
0 |
0 |
say "Pre-forking does not support fork emulation." and exit 0 |
114
|
0 |
0 |
0 |
$log->error("Worker $pid has no heartbeat ($ht seconds), restarting (see FAQ for more)") and $w->{'graceful'} = $time |
|
0 |
0 |
0 |
not $w->{'graceful'} and $w->{'time'} + $interval + $ht <= $time |
119
|
0 |
0 |
0 |
$log->info("Stopping worker $pid gracefully ($gt seconds)") and kill('QUIT', $pid) || $self->_stopped($pid) |
|
0 |
0 |
0 |
$graceful and not $w->{'quit'}++ |
120
|
0 |
0 |
0 |
$graceful and $graceful + $gt <= $time |
124
|
0 |
0 |
0 |
$log->warn("Stopping worker $pid immediately") and kill('KILL', $pid) || $self->_stopped($pid) |
|
0 |
0 |
0 |
$self->{'finished'} and not $graceful |
163
|
0 |
0 |
0 |
$log->error("Worker $pid stopped too early, shutting down") and $self->_term |