about summary refs log tree commit homepage
path: root/lib/PublicInbox/Daemon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-12-12 21:16:47 +0000
committerEric Wong <e@80x24.org>2019-12-14 21:13:48 +0000
commit0541761b0558317be1825710c1545f6e718103f2 (patch)
treeccf61ca0cf7bf988adcc7990e92592be74ea1f46 /lib/PublicInbox/Daemon.pm
parent8e02ffaf89afe2b39bf9618657de29bbff65c890 (diff)
downloadpublic-inbox-0541761b0558317be1825710c1545f6e718103f2.tar.gz
EvCleanup only existed since Danga::Socket was a separate
component, and cleanup code belongs with the event loop.
Diffstat (limited to 'lib/PublicInbox/Daemon.pm')
-rw-r--r--lib/PublicInbox/Daemon.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index c7a71ba0..c2c05b96 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -16,7 +16,6 @@ STDOUT->autoflush(1);
 STDERR->autoflush(1);
 use PublicInbox::DS qw(now);
 use PublicInbox::Syscall qw(SFD_NONBLOCK);
-require PublicInbox::EvCleanup;
 require PublicInbox::Listener;
 require PublicInbox::ParentPipe;
 require PublicInbox::Sigfd;
@@ -580,7 +579,6 @@ sub defer_accept ($$) {
 
 sub daemon_loop ($$$$) {
         my ($refresh, $post_accept, $nntpd, $af_default) = @_;
-        PublicInbox::EvCleanup::enable(); # early for $refresh
         my %post_accept;
         while (my ($k, $v) = each %tls_opt) {
                 if ($k =~ s!\A(?:nntps|https)://!!) {