]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiConvert.pm
lei: simple WQ workers use {wq1} field
[public-inbox.git] / lib / PublicInbox / LeiConvert.pm
index 14bed901f75fe5a67315c3fe98a79d466633215b..cefcaf65563e9e2fd9bfb295f91253855413c2c1 100644 (file)
@@ -53,7 +53,7 @@ sub lei_convert { # the main "lei convert" method
        $lei->{opt}->{augment} = 1 if $devfd < 0;
        $self->prepare_inputs($lei, \@inputs) or return;
        my ($op_c, $ops) = $lei->workers_start($self, 'lei-convert', 1);
-       $lei->{cnv} = $self;
+       $lei->{wq1} = $self;
        $self->wq_io_do('process_inputs', []);
        $self->wq_close(1);
        $op_c->op_wait_event($ops);