diff options
author | Eric Wong <e@80x24.org> | 2021-05-29 20:20:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-30 05:02:41 +0000 |
commit | 528d69bbbda3cd26d9cc317eff92d21d980b2056 (patch) | |
tree | 2d49a4e6cfcc4fd61ffa98ca431619277a1cf606 /lib/PublicInbox/LeiToMail.pm | |
parent | 8299d33f315ec2f923dd8b9b45f49403af5912aa (diff) | |
download | public-inbox-528d69bbbda3cd26d9cc317eff92d21d980b2056.tar.gz |
lcat can now dump the memoized contents of entire IMAP folders, not just a single UID. It's now parallelized and pipelined for multiple lei2mail workers. Furthemore, various forms of JSON output work consistently with blob-only output, now. While working on this, I noticed NetReader was passing UID URLs to imap_each callbacks, which was causing mail_sync.sqlite3 to store UIDs in `folders' and clearly wrong so it's now fixed.
Diffstat (limited to 'lib/PublicInbox/LeiToMail.pm')
-rw-r--r-- | lib/PublicInbox/LeiToMail.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/PublicInbox/LeiToMail.pm b/lib/PublicInbox/LeiToMail.pm index 078f2551..997ce599 100644 --- a/lib/PublicInbox/LeiToMail.pm +++ b/lib/PublicInbox/LeiToMail.pm @@ -756,12 +756,6 @@ sub write_mail { # via ->wq_io_do sub wq_atexit_child { my ($self) = @_; my $lei = $self->{lei}; - if (!$self->{-wq_worker_nr} && $lei->{lcat_blob}) { - for my $oid (@{$lei->{lcat_blob}}) { - my $smsg = { blob => $oid, pct => 100 }; - write_mail($self, $smsg); - } - } delete $self->{wcb}; $lei->{ale}->git->async_wait_all; my $nr = delete($lei->{-nr_write}) or return; |