From 9c42ece6dfddf4156dc3016e2fa8835bf3d8aca1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Jun 2021 05:50:04 +0000 Subject: favor git(1) rather than libgit2 for ExtSearch While both git and libgit2 take around 16 minutes to load 100K alternates there's already a proposed patch to make git faster: It's also easier to patch and install git locally since the git.git build system defaults to prefix=$HOME and dealing with dynamic linking with libgit2 is more difficult for end users relying on Inline::C. libgit2 remains in use for the non-ALL.git case, but maybe it's not necessary (libgit2 is significantly slower than git in Debian 10 due to SHA-1 collision checking). --- lib/PublicInbox/HTTPD.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/HTTPD.pm') diff --git a/lib/PublicInbox/HTTPD.pm b/lib/PublicInbox/HTTPD.pm index b193c9ae..fb683f74 100644 --- a/lib/PublicInbox/HTTPD.pm +++ b/lib/PublicInbox/HTTPD.pm @@ -37,7 +37,7 @@ sub new { # XXX unstable API!, only GitHTTPBackend needs # this to limit git-http-backend(1) parallelism. # We also check for the truthiness of this to - # detect when to use git_async_cat for slow blobs + # detect when to use async paths for slow blobs 'pi-httpd.async' => \&pi_httpd_async ); bless { -- cgit v1.2.3-24-ge0c7