about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-25 00:29:24 +0000
committerEric Wong <e@80x24.org>2023-10-25 07:28:30 +0000
commitf81954fe591c6a6358ba528118874313e3920e83 (patch)
tree4ac3d3a12791d97a1e986cc80eb5cde9b3924834 /t
parent5061fda82a5df67f12b0b392bdad481cc07aa283 (diff)
downloadpublic-inbox-f81954fe591c6a6358ba528118874313e3920e83.tar.gz
It's slightly better organized this way, especially since
`publicinboxLimiter' has its own user-facing config section
and knobs.  I may use it in LeiMirror and CodeSearchIdx for
process management.
Diffstat (limited to 't')
-rw-r--r--t/qspawn.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/qspawn.t b/t/qspawn.t
index 224e20db..507f86a5 100644
--- a/t/qspawn.t
+++ b/t/qspawn.t
@@ -3,6 +3,7 @@
 use v5.12;
 use Test::More;
 use_ok 'PublicInbox::Qspawn';
+use_ok 'PublicInbox::Limiter';
 
 {
         my $cmd = [qw(sh -c), 'echo >&2 err; echo out'];
@@ -23,7 +24,7 @@ sub finish_err ($) {
         $qsp->{qsp_err} && ${$qsp->{qsp_err}};
 }
 
-my $limiter = PublicInbox::Qspawn::Limiter->new(1);
+my $limiter = PublicInbox::Limiter->new(1);
 {
         my $x = PublicInbox::Qspawn->new([qw(true)]);
         $x->{qsp_err} = \(my $err = '');