From dff966c6e7e804b4e760aae39dda0b2c1a6ef30f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 27 Oct 2020 07:54:08 +0000 Subject: search: xdb_sharded: make this a public method for ExtSearch We can simplify callers by using $self->{xpfx} instead of passing another arg on the stack. --- lib/PublicInbox/ExtSearch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/ExtSearch.pm') diff --git a/lib/PublicInbox/ExtSearch.pm b/lib/PublicInbox/ExtSearch.pm index 9bbe7857..8997cd54 100644 --- a/lib/PublicInbox/ExtSearch.pm +++ b/lib/PublicInbox/ExtSearch.pm @@ -23,7 +23,7 @@ sub new { # overrides PublicInbox::Search::_xdb sub _xdb { my ($self) = @_; - $self->_xdb_sharded($self->{xpfx}); + $self->xdb_sharded; } # same as per-inbox ->over, for now... -- cgit v1.2.3-24-ge0c7