]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: drop listener sockets ASAP on termination
authorEric Wong <e@80x24.org>
Sat, 5 Mar 2016 05:44:16 +0000 (05:44 +0000)
committerEric Wong <e@80x24.org>
Sat, 5 Mar 2016 05:44:16 +0000 (05:44 +0000)
commitefdca7b8e80e74501d14eb0bee74f78309db287b
treee0db0611dd0575f18fae1756cfa4c5a6cd87d11a
parent5186d1f71d83ad84104c93da6bd27908a1610403
daemon: drop listener sockets ASAP on termination

We do not want to be accepting connections during graceful
shutdown because another new process is likely taking over.
This also allows us to free up the listener case another
(independent) process wants to claim it.
lib/PublicInbox/Daemon.pm