about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-12 11:46:58 +0000
committerEric Wong <e@80x24.org>2021-10-12 21:46:32 +0000
commit176cd51f9aa81b741deb00cd8096428eb6712b9e (patch)
treef67ff6275793cbce4d1901c643c0bf84ed6b430b /lib
parentc2d48f35b007657db7371eef1c868341afb30494 (diff)
downloadpublic-inbox-176cd51f9aa81b741deb00cd8096428eb6712b9e.tar.gz
Email::Address::XS is quite noisy and there's nothing we can
really do about messages we're serving from read-only daemons.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Daemon.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index 70d0f1c5..5c64e84c 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -20,6 +20,7 @@ use PublicInbox::EOFpipe;
 use PublicInbox::Sigfd;
 use PublicInbox::Git;
 use PublicInbox::GitAsyncCat;
+use PublicInbox::Eml;
 our $SO_ACCEPTFILTER = 0x1000;
 my @CMD;
 my ($set_user, $oldset);
@@ -642,6 +643,7 @@ sub run ($$$;$) {
         # localize GCF2C for tests:
         local $PublicInbox::GitAsyncCat::GCF2C;
         local $PublicInbox::Git::async_warn = 1;
+        local $SIG{__WARN__} = \&PublicInbox::Eml::warn_ignore_cb;
 
         daemon_loop($refresh, $post_accept, $tlsd, $af_default);
         PublicInbox::DS->Reset;