From 73e3a6ed6e95adc67cfa10079f11c28fe3f78517 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 2 Sep 2020 11:04:13 +0000 Subject: use more idiomatic internal API for ->over access {over_ro} being a part of the Search object is a historical oddity which will go away, soon. Lets start removing its use in tests and rarely-used helper scripts. --- xt/perf-threading.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xt') diff --git a/xt/perf-threading.t b/xt/perf-threading.t index ae98a5ba..b27c9cbd 100644 --- a/xt/perf-threading.t +++ b/xt/perf-threading.t @@ -18,7 +18,7 @@ require PublicInbox::View; my $msgs; my $elapsed = timeit(1, sub { - $msgs = $srch->{over_ro}->recent({limit => 200000}); + $msgs = $ibx->over->recent({limit => 200000}); }); my $n = scalar(@$msgs); ok($n, 'got some messages'); -- cgit v1.2.3-24-ge0c7