We'll be using this in lei for watch configs.
my ($self, $pfx, $k) = @_;
my $v = $self->{"$pfx.$k"} // return;
return $v if !ref($v);
my ($self, $pfx, $k) = @_;
my $v = $self->{"$pfx.$k"} // return;
return $v if !ref($v);
}
for my $k (qw(filter inboxdir newsgroup replyto httpbackendmax feedmax
indexlevel indexsequentialshard)) {
}
for my $k (qw(filter inboxdir newsgroup replyto httpbackendmax feedmax
indexlevel indexsequentialshard)) {
- my $v = _one_val($self, $pfx, $k) // next;
+ my $v = get_1($self, $pfx, $k) // next;
}
my $es = PublicInbox::ExtSearch->new($d);
for my $k (qw(indexlevel indexsequentialshard)) {
}
my $es = PublicInbox::ExtSearch->new($d);
for my $k (qw(indexlevel indexsequentialshard)) {
- my $v = _one_val($self, $pfx, $k) // next;
+ my $v = get_1($self, $pfx, $k) // next;
$es->{$k} = $v;
}
for my $k (qw(altid coderepo hide url infourl)) {
$es->{$k} = $v;
}
for my $k (qw(altid coderepo hide url infourl)) {