]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: fix augment of compressed mailboxes
authorEric Wong <e@80x24.org>
Tue, 19 Jan 2021 09:34:31 +0000 (09:34 +0000)
committerEric Wong <e@80x24.org>
Thu, 21 Jan 2021 03:29:10 +0000 (03:29 +0000)
commita14bc9e6cdd70f38eaa2961d1ea775300b9577ea
treef97c4ff6a3e1e8824e8fa1f72939444845183f33
parent15bed10a92def9645d81ccb319f285e927dc3327
lei q: fix augment of compressed mailboxes

We need to delay writing out the mailbox until the compressor
process is up and running, so have startq wait a bit.  This
means we must create the pipe early and hand it off to the
workers before augmenting, despite spawning the
gzip/pigz/xz/bzip2 process after augment is complete.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
t/lei.t
t/lei_to_mail.t