about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiRm.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-18 09:33:24 +0000
committerEric Wong <e@80x24.org>2021-09-18 20:25:25 +0000
commit7b7939d47b336fb7d8c4387858e620dbc218bb1e (patch)
treee10c335f3856348351fa7d5c84598625698aa6fc /lib/PublicInbox/LeiRm.pm
parent63807b9322151773d746303041c84dc37701bac2 (diff)
downloadpublic-inbox-7b7939d47b336fb7d8c4387858e620dbc218bb1e.tar.gz
It doesn't seem worthwhile to change worker counts dynamically
on a per-command-basis with lei, and I don't know how such an
interface would even work...
Diffstat (limited to 'lib/PublicInbox/LeiRm.pm')
-rw-r--r--lib/PublicInbox/LeiRm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiRm.pm b/lib/PublicInbox/LeiRm.pm
index 778fa1de..3371f3ed 100644
--- a/lib/PublicInbox/LeiRm.pm
+++ b/lib/PublicInbox/LeiRm.pm
@@ -32,7 +32,7 @@ sub lei_rm {
         my ($lei, @inputs) = @_;
         $lei->_lei_store(1)->write_prepare($lei);
         $lei->{opt}->{'in-format'} //= 'eml';
-        my $self = bless { -wq_nr_workers => 1 }, __PACKAGE__;
+        my $self = bless {}, __PACKAGE__;
         $self->prepare_inputs($lei, \@inputs) or return;
         my ($op_c, $ops) = $lei->workers_start($self, 1);
         $lei->{wq1} = $self;