From 757652fd1ad6843c984610263a2a0b336c974111 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 7 Feb 2021 08:51:53 +0000 Subject: ipc: wq_do => wq_io_do We will have a ->wq_do that doesn't pass FDs for I/O. --- lib/PublicInbox/LeiImport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/LeiImport.pm') diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm index 2c7cbf2b..3a99570e 100644 --- a/lib/PublicInbox/LeiImport.pm +++ b/lib/PublicInbox/LeiImport.pm @@ -44,9 +44,9 @@ sub call { # the main "lei import" method $self->wq_workers_start('lei_import', $j, $lei->oldset, {lei => $lei}); my $op = delete $lei->{pkt_op_c}; delete $lei->{pkt_op_p}; - $self->wq_do('import_stdin', []) if $self->{0}; + $self->wq_io_do('import_stdin', []) if $self->{0}; for my $x (@argv) { - $self->wq_do('import_path_url', [], $x); + $self->wq_io_do('import_path_url', [], $x); } $self->wq_close(1); $lei->event_step_init; # wait for shutdowns -- cgit v1.2.3-24-ge0c7