about summary refs log tree commit homepage
path: root/lib/PublicInbox/ManifestJsGz.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-11 23:30:45 +0000
committerEric Wong <e@80x24.org>2021-09-12 02:09:43 +0000
commit610d89af015337ac0ba09dedeb71d1ff1d2326ea (patch)
tree4be7ec334765ebfc14183a6c88c0ab92982b183c /lib/PublicInbox/ManifestJsGz.pm
parentaa500f0243133f2e9e0c912eea3497e52ebc1903 (diff)
downloadpublic-inbox-610d89af015337ac0ba09dedeb71d1ff1d2326ea.tar.gz
When generating per-inbox manifests, we were forgetting to
cleanup per-epoch "git cat-file --batch" processes.  Our
previous method of generating modified times was also stupidly
inefficient, so replace the pipeline with a single
"git for-each-ref" invocation.
Diffstat (limited to 'lib/PublicInbox/ManifestJsGz.pm')
-rw-r--r--lib/PublicInbox/ManifestJsGz.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ManifestJsGz.pm b/lib/PublicInbox/ManifestJsGz.pm
index 69d81fa1..cde60245 100644
--- a/lib/PublicInbox/ManifestJsGz.pm
+++ b/lib/PublicInbox/ManifestJsGz.pm
@@ -27,7 +27,7 @@ sub inject_entry ($$$;$) {
         $ctx->{manifest}->{$url_path} = $ent;
 }
 
-sub manifest_add ($$;$$) { # slow path w/o extindex "all"
+sub manifest_add ($$;$$) { # slow path w/o extindex "all" (or per-inbox)
         my ($ctx, $ibx, $epoch, $default_desc) = @_;
         my $url_path = "/$ibx->{name}";
         my $git;