diff options
author | Eric Wong <e@80x24.org> | 2021-05-01 06:31:22 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-01 23:12:42 +0000 |
commit | a0269769daa3dcf49de81211738ed96057af3918 (patch) | |
tree | 91493e61d135831ec05d726ccf88e47f616588c3 /lib/PublicInbox/LeiImport.pm | |
parent | 6dbc443f8acfb262ca1ab263b60ecb801c00aac2 (diff) | |
download | public-inbox-a0269769daa3dcf49de81211738ed96057af3918.tar.gz |
We use the "done" term elsewhere for similar things, and my easily-confused mind equates "complete" with shell completion.
Diffstat (limited to 'lib/PublicInbox/LeiImport.pm')
-rw-r--r-- | lib/PublicInbox/LeiImport.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm index def121ab..575cf125 100644 --- a/lib/PublicInbox/LeiImport.pm +++ b/lib/PublicInbox/LeiImport.pm @@ -48,7 +48,7 @@ sub input_net_cb { # imap_each / nntp_each input_eml_cb($self, $eml, $vmd); } -sub net_merge_complete { # callback used by LeiAuth +sub net_merge_all_done { # callback used by LeiAuth my ($self) = @_; $self->wq_io_do('process_inputs'); $self->wq_close(1); @@ -85,7 +85,7 @@ sub lei_import { # the main "lei import" method (my $op_c, $ops) = $lei->workers_start($self, 'lei-import', $j, $ops); $lei->{wq1} = $self; $lei->{-err_type} = 'non-fatal'; - net_merge_complete($self) unless $lei->{auth}; + net_merge_all_done($self) unless $lei->{auth}; $op_c->op_wait_event($ops); } |