]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiLsSearch.pm
lei: lock worker counts
[public-inbox.git] / lib / PublicInbox / LeiLsSearch.pm
index 7013613523e33acfcfcfadc305bf136302756e68..aebf018429d3949ca9e2de8704d8ce680604e7f0 100644 (file)
@@ -71,7 +71,7 @@ sub do_ls_search_long {
 
 sub bg_worker ($$$) {
        my ($lei, $pfx, $json) = @_;
-       my $self = bless { -wq_nr_workers => 1, json => $json }, __PACKAGE__;
+       my $self = bless { json => $json }, __PACKAGE__;
        my ($op_c, $ops) = $lei->workers_start($self, 1);
        $lei->{wq1} = $self;
        $self->wq_io_do('do_ls_search_long', [], $pfx);