about summary refs log tree commit homepage
path: root/lib/PublicInbox/HTTPD/Async.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-18 10:51:37 +0000
committerEric Wong <e@80x24.org>2016-06-18 21:48:34 +0000
commit26d8524281b1461a3a7e4a19f0db3180228f2877 (patch)
tree5179e72ea362b1ecb01395e685542f4254835a91 /lib/PublicInbox/HTTPD/Async.pm
parente748f75979046724ead380bd00eadc677bdc07e9 (diff)
downloadpublic-inbox-26d8524281b1461a3a7e4a19f0db3180228f2877.tar.gz
We do not need to count the httpd.async object
against our running client count, that is tied to
the socket of the actual client.

This prevents misleading sysadmins about connected
clients during shutdown.
Diffstat (limited to 'lib/PublicInbox/HTTPD/Async.pm')
-rw-r--r--lib/PublicInbox/HTTPD/Async.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/PublicInbox/HTTPD/Async.pm b/lib/PublicInbox/HTTPD/Async.pm
index fadf2d3a..a936d9b5 100644
--- a/lib/PublicInbox/HTTPD/Async.pm
+++ b/lib/PublicInbox/HTTPD/Async.pm
@@ -74,7 +74,4 @@ sub close {
         PublicInbox::EvCleanup::asap($cleanup) if $cleanup;
 }
 
-# do not let ourselves be closed during graceful termination
-sub busy () { $_[0]->{cb} }
-
 1;