about summary refs log tree commit homepage
path: root/lib/PublicInbox/Daemon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-04 03:49:15 +0000
committerEric Wong <e@80x24.org>2023-10-04 17:46:31 +0000
commit529b30867c07ad95bba396cc80b044315fbc4df0 (patch)
tree43875d72669ad54a33b77cceb4fa605b3ee13df4 /lib/PublicInbox/Daemon.pm
parent2f946a02bc324612febdfe31604b79e0196a215f (diff)
downloadpublic-inbox-529b30867c07ad95bba396cc80b044315fbc4df0.tar.gz
It's not used by any post_loop_do callbacks anymore, and the
underlying FD map is a global `our' variable accessible from
anywhere, anyways.
Diffstat (limited to 'lib/PublicInbox/Daemon.pm')
-rw-r--r--lib/PublicInbox/Daemon.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index 5250610b..e5755981 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -363,7 +363,6 @@ sub worker_quit { # $_[0] = signal name or number (unused)
         my $warn = 0;
         # drop idle connections and try to quit gracefully
         @PublicInbox::DS::post_loop_do = (sub {
-                my ($dmap, undef) = @_;
                 my $now = now();
                 my $n = PublicInbox::DS::close_non_busy();
                 if ($n) {