about summary refs log tree commit homepage
path: root/xt/perf-msgview.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-08 10:20:02 +0000
committerEric Wong <e@80x24.org>2021-10-08 21:23:28 +0000
commit13a2fcc724576a78d0955f64dc0f4494545153c3 (patch)
treee81ef19be921acb9963064c46923b80c7dc3d5df /xt/perf-msgview.t
parente46b24f437639e3c2cc19df4a2c875b56fe6fea7 (diff)
downloadpublic-inbox-13a2fcc724576a78d0955f64dc0f4494545153c3.tar.gz
Some code paths may use maximum size checks, so ensure
any checks are waited on, too.
Diffstat (limited to 'xt/perf-msgview.t')
-rw-r--r--xt/perf-msgview.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/perf-msgview.t b/xt/perf-msgview.t
index f97c06fb..bc73fcce 100644
--- a/xt/perf-msgview.t
+++ b/xt/perf-msgview.t
@@ -66,7 +66,7 @@ my $t = timeit(1, sub {
                         $git->cat_async($oid, $cb);
                 }
         }
-        $git->cat_async_wait;
+        $git->async_wait_all;
 });
 diag 'multipart_text_as_html took '.timestr($t)." for $n <=> $m messages";
 is($m, $n, 'rendered all messages');