about summary refs log tree commit homepage
path: root/lib/PublicInbox/DS.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-11 09:41:27 +0000
committerEric Wong <e@80x24.org>2023-09-11 18:51:14 +0000
commitd98a23c63ae1da65b8521fdd6faa9e9fb5f898e9 (patch)
treec46505bddfb7990c50be65176dd280c814d5bcc1 /lib/PublicInbox/DS.pm
parent9231d2e7b93f2739c215c51164569347c90c646a (diff)
downloadpublic-inbox-d98a23c63ae1da65b8521fdd6faa9e9fb5f898e9.tar.gz
The awaitpid API turns out to be quite handy for managing
long-lived worker processes.  This allows us to ensure all our
uses of signalfd (and kevent emulation) are non-blocking.
Diffstat (limited to 'lib/PublicInbox/DS.pm')
-rw-r--r--lib/PublicInbox/DS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm
index ff10c9c0..d6e3d10e 100644
--- a/lib/PublicInbox/DS.pm
+++ b/lib/PublicInbox/DS.pm
@@ -280,7 +280,7 @@ sub event_loop (;$$) {
         my ($sig, $oldset) = @_;
         $Epoll //= _InitPoller();
         require PublicInbox::Sigfd if $sig;
-        my $sigfd = $sig ? PublicInbox::Sigfd->new($sig, 1) : undef;
+        my $sigfd = $sig ? PublicInbox::Sigfd->new($sig) : undef;
         if ($sigfd && $sigfd->{is_kq}) {
                 my $tmp = allowset($sig);
                 local @SIG{keys %$sig} = values(%$sig);