line |
true |
false |
branch |
62
|
0 |
0 |
if ($self->{'config'}{'warmup'}) { } |
74
|
0 |
0 |
unless $self->{'count'} |
83
|
0 |
0 |
if $self->{'count'} |
85
|
0 |
0 |
unless (%{$self->{'connecting'};}) |
88
|
0 |
0 |
unless (%{$self->{'connecting'};}) |
100
|
0 |
0 |
unless ($id) |
106
|
0 |
0 |
unless ($ipaddress) |
112
|
0 |
0 |
unless ($connection) |
131
|
0 |
0 |
if ($self->{'pool'}{$ipaddress}) |
178
|
0 |
0 |
if $max_connect <= 0 |
181
|
0 |
0 |
if $max_connect <= 0 |
183
|
0 |
0 |
if $self->{'shutdown'} |
185
|
0 |
0 |
if ($self->{'_in_connect'}) |
196
|
0 |
0 |
if ($done == $expect) |
197
|
0 |
0 |
if $callback |
200
|
0 |
0 |
unless $self->spawn_new_connection(sub {
++$done;
if ($done == $expect) {
&$callback() if $callback;
undef $callback;
};
}
) |
202
|
0 |
0 |
if ($callback and not $expect) |
211
|
0 |
0 |
unless $host |
228
|
0 |
0 |
if ($error) { } |
231
|
0 |
0 |
if (my $waiters = delete $self->{'wait_connect'}) |
232
|
0 |
0 |
if ($self->{'count'} and @$waiters) |
238
|
0 |
0 |
$max_conn < $known_node_count ? : |
241
|
0 |
0 |
if (++$waiter->{'attempts'} >= $max_attempts or not %{$self->{'connecting'};}) { } |
272
|
0 |
0 |
if (my $conn = $self->{'pool'}{$ipaddress}) |