about summary refs log tree commit homepage
path: root/t/config_limiter.t
diff options
authorEric Wong <e@80x24.org>2019-05-15 10:39:19 +0000
committerEric Wong <e@80x24.org>2019-05-15 10:54:45 +0000
commitb6f480ed58abc5ae2a426ef4f792621b9d3cf283 (patch)
treea7b09a555b65b4df74c1b54e9c48df8ce397d21d /t/config_limiter.t
parent7aef27f1a1dd59cfb107a41ca6215059e931d62b (diff)
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.
Diffstat (limited to 't/config_limiter.t')
1 files changed, 0 insertions, 1 deletions
diff --git a/t/config_limiter.t b/t/config_limiter.t
index 85a71257..b18951a6 100644
--- a/t/config_limiter.t
+++ b/t/config_limiter.t
@@ -38,7 +38,6 @@ my $cfgpfx = "publicinbox.test";
         ok($lim, 'Limiter exists');
         is($lim->{max}, 3, 'limiter has expected slots');
         $ibx->{git} = undef;
-        PublicInbox::Inbox::cleanup_task;
         my $new = $ibx->git;
         isnt($old, "$new", 'got new Git object');
         is("$new->{-httpbackend_limiter}", "$lim", 'same limiter');