diff options
author | Eric Wong <e@80x24.org> | 2021-05-02 06:05:40 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-03 18:45:26 +0000 |
commit | 528ef7a3988862763b6ca5b0123be0bf23a64213 (patch) | |
tree | e346df9cd13a16047b474ea11a1464287d9412e2 /lib/PublicInbox/LeiImport.pm | |
parent | 34b534d80c36e92cf7dda6cd64a219d33b96d7a1 (diff) | |
download | public-inbox-528ef7a3988862763b6ca5b0123be0bf23a64213.tar.gz |
In most cases, we just name the worker process based on the command. The only change is for LeiMirror vs "lei add-external --mirror", but I doubt it matters.
Diffstat (limited to 'lib/PublicInbox/LeiImport.pm')
-rw-r--r-- | lib/PublicInbox/LeiImport.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm index 394138b4..6a57df47 100644 --- a/lib/PublicInbox/LeiImport.pm +++ b/lib/PublicInbox/LeiImport.pm @@ -76,7 +76,7 @@ sub lei_import { # the main "lei import" method $lei->{auth}->op_merge($ops, $self) if $lei->{auth}; $self->{-wq_nr_workers} = $j // 1; # locked $lei->{-eml_noisy} = 1; - (my $op_c, $ops) = $lei->workers_start($self, 'lei-import', $j, $ops); + (my $op_c, $ops) = $lei->workers_start($self, $j, $ops); $lei->{wq1} = $self; $lei->{-err_type} = 'non-fatal'; net_merge_all_done($self) unless $lei->{auth}; |