]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Xapcmd.pm
nntp: speed up mid_lookup() using ->ALL extindex
[public-inbox.git] / lib / PublicInbox / Xapcmd.pm
index 6a74daf92b5be1e4345ce473f28a66b3db5e7f1b..4332943cd62008f8da2179dae3eff44895f5a8cc 100644 (file)
@@ -110,7 +110,7 @@ sub prepare_reindex ($$$) {
                }
        } else { # v2
                my $max;
-               $im->git_dir_latest(\$max) or return;
+               $ibx->git_dir_latest(\$max) or return;
                my $from = $opt->{reindex}->{from};
                my $mm = $ibx->mm;
                my $v = PublicInbox::Search::SCHEMA_VERSION();