]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/cmp-msgview.t
pop3: reduce memory use while generating the mailbox cache
[public-inbox.git] / xt / cmp-msgview.t
index 2415126789cc12dd4d9eecae809ee35e1a0a96b6..9b06f88deade239f5257de99b96bf4eec2ed98dc 100644 (file)
@@ -1,5 +1,5 @@
 #!perl -w
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use Test::More;
@@ -84,7 +84,7 @@ my $t = timeit(1, sub {
                ++$n;
                $git->cat_async($oid, $git_cb);
        }
-       $git->cat_async_wait;
+       $git->async_wait_all;
 });
 is($m, $n, 'rendered all messages');