about summary refs log tree commit homepage
path: root/lib/PublicInbox/Daemon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-01-17 07:19:07 +0000
committerEric Wong <e@80x24.org>2023-01-18 23:26:01 +0000
commit84050272ef72aadbc2fc6abf106a27ff1bb3ddc7 (patch)
tree1c7d1f0d0abe198f0862f33c443e3aa11bb4f4b1 /lib/PublicInbox/Daemon.pm
parent710613c1a986ae124202409e67fb3d0b78f5fb43 (diff)
downloadpublic-inbox-84050272ef72aadbc2fc6abf106a27ff1bb3ddc7.tar.gz
The only user of EOFpipe has no args, so avoid wasting a hash
slot on it.  If we need it again in the future, EOFpipe will
allow an array of args, instead.
Diffstat (limited to 'lib/PublicInbox/Daemon.pm')
-rw-r--r--lib/PublicInbox/Daemon.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index ee746f05..17e799ca 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -693,7 +693,7 @@ sub daemon_loop ($) {
         if ($worker_processes > 0) {
                 $refresh->(); # preload by default
                 my $fh = master_loop(); # returns if in child process
-                PublicInbox::EOFpipe->new($fh, \&worker_quit, undef);
+                PublicInbox::EOFpipe->new($fh, \&worker_quit);
         } else {
                 reopen_logs();
                 $set_user->() if $set_user;