From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E3A3D1F934 for ; Sat, 2 Oct 2021 11:18:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/4] extsearchidx: attach_config: set {ibx_map} value to $ibx Date: Sat, 2 Oct 2021 11:18:32 +0000 Message-Id: <20211002111835.19220-2-e@80x24.org> In-Reply-To: <20211002111835.19220-1-e@80x24.org> References: <20211002111835.19220-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It doesn't seem to matter, actually, but this matches the behavior of attach_inbox and the comment in ->new. --- lib/PublicInbox/ExtSearchIdx.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm index f0992e5ea1c1..972049e420e2 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -89,6 +89,7 @@ sub attach_config { $self->{ibx_map}->{$ibx->eidx_key} //= do { push @{$self->{ibx_active}}, $ibx; push @{$self->{ibx_known}}, $ibx; + $ibx; } } # invalidate cache