diff options
author | Eric Wong <e@80x24.org> | 2021-04-01 17:10:42 +0500 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-01 18:25:15 +0000 |
commit | 680a817ef1627bb8e149fd1967ecc05a8d634dc9 (patch) | |
tree | 5778107be7317f3cded60f771124e07a03e7126f | |
parent | 601176854186c1bcc81b3cb4eabf2933d1a61d32 (diff) | |
download | public-inbox-680a817ef1627bb8e149fd1967ecc05a8d634dc9.tar.gz |
It's needless noise when doing augment and output preparation and shows up way too late and out-of-band with lei-daemon.
-rw-r--r-- | lib/PublicInbox/LeiStore.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm index 8574d736..d2dd4e7b 100644 --- a/lib/PublicInbox/LeiStore.pm +++ b/lib/PublicInbox/LeiStore.pm @@ -11,6 +11,7 @@ use strict; use v5.10.1; use parent qw(PublicInbox::Lock PublicInbox::IPC); use PublicInbox::ExtSearchIdx; +use PublicInbox::Eml; use PublicInbox::Import; use PublicInbox::InboxWritable qw(eml_from_path); use PublicInbox::V2Writable; @@ -343,6 +344,7 @@ sub ipc_atfork_child { my ($self) = @_; my $lei = $self->{lei}; $lei->_lei_atfork_child(1) if $lei; + $SIG{__WARN__} = PublicInbox::Eml::warn_ignore_cb(); $self->SUPER::ipc_atfork_child; } |