]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiSearch.pm
git: use async_wait_all everywhere
[public-inbox.git] / lib / PublicInbox / LeiSearch.pm
index 568277a6f40443217494e383b609f83f9c5d571f..4e048e9a40b7a9f2794d067eeef15f750b0d1d61 100644 (file)
@@ -119,13 +119,13 @@ sub xoids_for {
                                $git->cat_async($cur->{blob}, \&_cmp_1st,
                                                [$chash, $xoids, $cur, $lms]);
                                if ($min && scalar(keys %$xoids) >= $min) {
-                                       $git->cat_async_wait;
+                                       $git->async_wait_all;
                                        return $xoids;
                                }
                        }
                }
        }
-       $git->cat_async_wait;
+       $git->async_wait_all;
        scalar(keys %$xoids) ? $xoids : undef;
 }