]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiLsSearch.pm
lei: simple WQ workers use {wq1} field
[public-inbox.git] / lib / PublicInbox / LeiLsSearch.pm
index 9ac4870f8399f705cf3323abfcc5f4aac8c5f0ac..a00e78fcc96834a74ad6a2e1ad55c19647e79595 100644 (file)
@@ -73,7 +73,7 @@ sub bg_worker ($$$) {
        my ($lei, $pfx, $json) = @_;
        my $self = bless { -wq_nr_workers => 1, json => $json }, __PACKAGE__;
        my ($op_c, $ops) = $lei->workers_start($self, 'ls-search', 1);
-       $lei->{lsss} = $self;
+       $lei->{wq1} = $self;
        $self->wq_io_do('do_ls_search_long', [], $pfx);
        $self->wq_close(1);
        $op_c->op_wait_event($ops);