-sub reindex_oid ($$$) {
- my ($self, $sync, $oid) = @_;
- return if too_big($self, $oid);
- my ($num, $mid0, $len);
- my $msgref = $self->{ibx}->git->cat_file($oid, \$len);
- return if $len == 0; # purged
- my $mime = PublicInbox::Eml->new($$msgref);
+sub index_oid { # cat_async callback
+ my ($bref, $oid, $type, $size, $arg) = @_;
+ return if $size == 0; # purged
+ my ($num, $mid0);
+ my $mime = PublicInbox::Eml->new($$bref);