From f85de9d78561efa8190ac038823fef397b6df4fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 16 Dec 2020 23:19:06 +0000 Subject: extsearchidx: no need to make InboxWritable extindex treats v1/v2 public inboxes as read-only, so there's no need to scare people by using the InboxWritable package now that ->git_dir_n is gone and we can use ->max_git_epoch instead of ->git_dir_latest. --- lib/PublicInbox/ExtSearchIdx.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm index 3764612c..c6fb398b 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -63,7 +63,6 @@ sub new { sub attach_inbox { my ($self, $ibx) = @_; - $ibx = PublicInbox::InboxWritable->new($ibx); my $key = $ibx->eidx_key; if (!$ibx->over || !$ibx->mm) { warn "W: skipping $key (unindexed)\n"; @@ -78,7 +77,6 @@ sub attach_inbox { warn "W: `$ibx->{inboxdir}' canonicalized to `$ibxdir'\n"; $ibx->{inboxdir} = $ibxdir; } - $ibx = PublicInbox::InboxWritable->new($ibx); $self->{ibx_map}->{$key} //= do { push @{$self->{ibx_list}}, $ibx; $ibx; -- cgit v1.2.3-24-ge0c7