about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-07 23:05:10 -1000
committerEric Wong <e@80x24.org>2021-02-08 22:07:41 +0000
commitc642cbd0b4e490d5c0922f0659129c936e5349c8 (patch)
treebf2d1cc106a45778e9d6b362cd3eec66301ecfc8
parent0df6f43c81c72924020b8f71c696784f154d93fa (diff)
downloadpublic-inbox-c642cbd0b4e490d5c0922f0659129c936e5349c8.tar.gz
This will probably cover full Atom/HTML feed generation or any
outputs which are order-dependent, but those aren't prioritized
at the moment.
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index db089a67..588df3a4 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -16,6 +16,7 @@ use PublicInbox::Search qw(xap_terms);
 use PublicInbox::Spawn qw(popen_rd spawn which);
 use PublicInbox::MID qw(mids);
 use PublicInbox::Smsg;
+use PublicInbox::Eml;
 use Fcntl qw(SEEK_SET F_SETFL O_APPEND O_RDWR);
 
 sub new {
@@ -376,6 +377,7 @@ sub start_query { # always runs in main (lei-daemon) process
 sub ipc_atfork_child {
         my ($self) = @_;
         $self->{lei}->lei_atfork_child;
+        $SIG{__WARN__} = PublicInbox::Eml::warn_ignore_cb();
         $self->SUPER::ipc_atfork_child;
 }