blib/lib/Search/Elasticsearch/Role/CxnPool/Static/NoPing.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 6 | 83.3 |
line | true | false | branch |
---|---|---|---|
39 | 56 | 13 | if $cxn->is_live or $cxn->next_ping < time |
42 | 12 | 1 | unless grep {$_ eq $cxn;} @$dead |
45 | 2 | 0 | if (@$dead and $self->retries <= $self->max_retries) |