From 26d8524281b1461a3a7e4a19f0db3180228f2877 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 18 Jun 2016 10:51:37 +0000 Subject: daemon: be less misleading about graceful shutdown 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. --- lib/PublicInbox/HTTPD/Async.pm | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/PublicInbox/HTTPD') 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; -- cgit v1.2.3-24-ge0c7