about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiRm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiRm.pm')
-rw-r--r--lib/PublicInbox/LeiRm.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/PublicInbox/LeiRm.pm b/lib/PublicInbox/LeiRm.pm
index cc1abbff..62423ac9 100644
--- a/lib/PublicInbox/LeiRm.pm
+++ b/lib/PublicInbox/LeiRm.pm
@@ -19,11 +19,8 @@ sub lei_rm {
         $lei->{opt}->{'in-format'} //= 'eml';
         my $self = bless {}, __PACKAGE__;
         $self->prepare_inputs($lei, \@inputs) or return;
-        my ($op_c, $ops) = $lei->workers_start($self, 1);
-        $lei->{wq1} = $self;
         $lei->{-err_type} = 'non-fatal';
-        net_merge_all_done($self) unless $lei->{auth};
-        $lei->wait_wq_events($op_c, $ops);
+        $lei->wq1_start($self);
 }
 
 no warnings 'once';