From 49b036771ef3bf45cdbfd90ac282dd922f9ad5ac Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Mar 2021 17:49:42 +0000 Subject: lei_input: support compressed mboxes Since "lei q" and "lei convert" already support writing these compressed inboxes, it makes sense that all mbox readers support them, as well. Using compression is one reliable way to know an mboxrd or mboxo hasn't been unexpectedly truncated. --- lib/PublicInbox/LeiConvert.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/PublicInbox/LeiConvert.pm') diff --git a/lib/PublicInbox/LeiConvert.pm b/lib/PublicInbox/LeiConvert.pm index da3b50cc..fb7a2f3b 100644 --- a/lib/PublicInbox/LeiConvert.pm +++ b/lib/PublicInbox/LeiConvert.pm @@ -34,6 +34,7 @@ sub input_maildir_cb { sub do_convert { # via wq_do my ($self) = @_; + $PublicInbox::DS::in_loop = 0; # force synchronous dwaitpid for my $input (@{$self->{inputs}}) { $self->input_path_url($input); } -- cgit v1.2.3-24-ge0c7