about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiInput.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-08 18:54:03 +0000
committerEric Wong <e@80x24.org>2023-10-08 18:54:42 +0000
commitc8b757d945040426f8c4cd909c2f05e34be6ccb1 (patch)
tree760cd0f1e7e67961cc65cec13a181eda8c345ff5 /lib/PublicInbox/LeiInput.pm
parente522fd43913f26db5b99f2417a0d863439634ff5 (diff)
downloadpublic-inbox-c8b757d945040426f8c4cd909c2f05e34be6ccb1.tar.gz
It's safer against deadlocks and we still get proper error
reporting by passing stderr across in addition to the lei
socket.
Diffstat (limited to 'lib/PublicInbox/LeiInput.pm')
-rw-r--r--lib/PublicInbox/LeiInput.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm
index 91383265..93f8b6b8 100644
--- a/lib/PublicInbox/LeiInput.pm
+++ b/lib/PublicInbox/LeiInput.pm
@@ -467,7 +467,7 @@ sub process_inputs {
         }
         # always commit first, even on error partial work is acceptable for
         # lei <import|tag|convert>
-        my $wait = $self->{lei}->{sto}->wq_do('done') if $self->{lei}->{sto};
+        $self->{lei}->sto_done_request;
         $self->{lei}->fail($err) if $err;
 }