From b6f480ed58abc5ae2a426ef4f792621b9d3cf283 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 May 2019 10:39:19 +0000 Subject: remove hard Devel::Peek dependency and lazy load for daemons It's only useful for a corner case in long-running daemons when an admin decides to compact or vacuum a Xapian or SQLite DB. As a result, other scripts should run slightly faster. For instance, this saves about 80ms (2.710s => 2.630s) in t/mda.t on my remote workstation. While we're at it, make sure EvCleanup is properly require'd in Daemon.pm and HTTP.pm and document our use of Devel::Peek. --- INSTALL | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 313a2951..83437627 100644 --- a/INSTALL +++ b/INSTALL @@ -36,11 +36,6 @@ Beyond that, there is a long list of Perl modules required, starting with: pkg: p5-TimeDate rpm: perl-TimeDate -* Devel::Peek deb: libperl5.$MINOR (e.g. libperl5.24) - pkg: perl5 - rpm: perl-Devel-Peek - (typically installed alongside Perl5) - * Email::MIME deb: libemail-mime-perl pkg: p5-Email-MIME rpm: perl-Email-MIME @@ -125,6 +120,12 @@ above, so there is no need to explicitly install them: rpm: perl-DBI (pulled in by DBD::SQLite) +* Devel::Peek deb: libperl5.$MINOR (e.g. libperl5.24) + pkg: perl5 + rpm: perl-Devel-Peek + (optional for stale FD cleanup in daemons, + typically installed alongside Perl5) + - Filesys::Notify::Simple deb: libfilesys-notify-simple-perl pkg: pkg-Filesys-Notify-Simple rpm: perl-Filesys-Notify-Simple -- cgit v1.2.3-24-ge0c7