- my $op = $lei->workers_start($self, 'lei_import', $j, {
- '' => [ \&import_done, $lei ],
- });
+ my $ops = { '' => [ \&import_done, $lei ] };
+ $lei->{auth}->op_merge($ops, $self) if $lei->{auth};
+ $self->{-wq_nr_workers} = $j // 1; # locked
+ my $op = $lei->workers_start($self, 'lei_import', undef, $ops);