From 947853b0b05f08c5678fb9d9c2e8521b7be9281a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Oct 2023 00:29:29 +0000 Subject: [PATCH] qspawn: drop unused err arg for ->event_step It's no longer needed since psgi_qx doesn't use a pipe, anymore. --- lib/PublicInbox/Qspawn.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0f9006918..9a7e8734f 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -163,8 +163,7 @@ sub psgi_qx { # via PublicInbox::DS event loop OR via GetlineBody for generic # PSGI servers. sub event_step { - my ($self, $err) = @_; # $err: $! - warn "psgi_{return,qx} $err" if defined($err); + my ($self) = @_; finish($self); my $fh = delete $self->{qfh}; $fh->close if $fh; # async-only (psgi_return) -- 2.47.2