about summary refs log tree commit homepage
path: root/lib/PublicInbox/GitAsyncCat.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/GitAsyncCat.pm')
-rw-r--r--lib/PublicInbox/GitAsyncCat.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/GitAsyncCat.pm b/lib/PublicInbox/GitAsyncCat.pm
index 57c194d9..cea3f539 100644
--- a/lib/PublicInbox/GitAsyncCat.pm
+++ b/lib/PublicInbox/GitAsyncCat.pm
@@ -16,7 +16,7 @@ our $GCF2C; # singleton PublicInbox::Gcf2Client
 sub close {
         my ($self) = @_;
         if (my $git = delete $self->{git}) {
-                $git->cat_async_abort;
+                $git->async_abort;
         }
         $self->SUPER::close; # PublicInbox::DS::close
 }
@@ -32,7 +32,7 @@ sub event_step {
                 # child death?
                 if (($git->{in} // 0) != ($self->{sock} // 1)) {
                         $self->close;
-                } elsif (@$inflight || exists $git->{cat_rbuf}) {
+                } elsif (@$inflight || exists $git->{rbuf}) {
                         # ok, more to do, requeue for fairness
                         $self->requeue;
                 }