diff options
author | Eric Wong <e@80x24.org> | 2023-01-17 07:19:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-01-18 23:26:03 +0000 |
commit | 4a2a95bbc78f99c8c5278cfe29de74bd1483903c (patch) | |
tree | 8652affab199e745cb52da49f526a2d998e755fb /lib/PublicInbox/LeiInput.pm | |
parent | f7f0e7bee09cfc57ecc6845a8cf9e80a0bbd64f5 (diff) | |
download | public-inbox-4a2a95bbc78f99c8c5278cfe29de74bd1483903c.tar.gz |
This avoids awkwardly stuffing an arrayref into callbacks which expect multiple arguments. IPC->awaitpid_init now allows pre-registering callbacks before spawning workers.
Diffstat (limited to 'lib/PublicInbox/LeiInput.pm')
-rw-r--r-- | lib/PublicInbox/LeiInput.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm index a1dcc907..c258f824 100644 --- a/lib/PublicInbox/LeiInput.pm +++ b/lib/PublicInbox/LeiInput.pm @@ -177,7 +177,7 @@ sub input_path_url { $mbl->{fh} = PublicInbox::MboxReader::zsfxcat($in, $zsfx, $lei); } - local $PublicInbox::DS::in_loop = 0 if $zsfx; # dwaitpid + local $PublicInbox::DS::in_loop = 0 if $zsfx; # awaitpid $self->input_fh($ifmt, $mbl->{fh}, $input, @args); } elsif (-d _ && (-d "$input/cur" || -d "$input/new")) { return $lei->fail(<<EOM) if $ifmt && $ifmt ne 'maildir'; |