X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FGcf2Client.pm;h=09c3aa06f6be8a081497e74a75e873b904c666e6;hb=23af251dd607c4e75ab1e68063f2c885c48cc035;hp=c5695db140cd6cd6728e964c0ba2abaae5bb59ab;hpb=1c52f49354aa83e71fcceccae888da0c77f2391d;p=public-inbox.git diff --git a/lib/PublicInbox/Gcf2Client.pm b/lib/PublicInbox/Gcf2Client.pm index c5695db1..09c3aa06 100644 --- a/lib/PublicInbox/Gcf2Client.pm +++ b/lib/PublicInbox/Gcf2Client.pm @@ -18,7 +18,7 @@ use PublicInbox::Syscall qw(EPOLLIN EPOLLET); # pid.owner => process which spawned {pid} # in => same as {sock}, for compatibility with PublicInbox::Git # inflight => array (see PublicInbox::Git) -# cat_rbuf => scalarref, may be non-existent or empty +# rbuf => scalarref, may be non-existent or empty sub new { my ($rdr) = @_; my $self = bless {}, __PACKAGE__; @@ -68,7 +68,7 @@ sub event_step { return $self->close unless $self->{in}; # process died # ok, more to do, requeue for fairness - $self->requeue if @$inflight || exists($self->{cat_rbuf}); + $self->requeue if @$inflight || exists($self->{rbuf}); } }