]> Sergey Matveev's repositories - public-inbox.git/commit
remove hard Devel::Peek dependency and lazy load for daemons
authorEric Wong <e@80x24.org>
Wed, 15 May 2019 10:39:19 +0000 (10:39 +0000)
committerEric Wong <e@80x24.org>
Wed, 15 May 2019 10:54:45 +0000 (10:54 +0000)
commitb6f480ed58abc5ae2a426ef4f792621b9d3cf283
treea7b09a555b65b4df74c1b54e9c48df8ce397d21d
parent7aef27f1a1dd59cfb107a41ca6215059e931d62b
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
Makefile.PL
lib/PublicInbox/Daemon.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/Inbox.pm
t/config_limiter.t