about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-09 06:26:11 +0000
committerEric Wong <e@80x24.org>2020-09-10 19:45:18 +0000
commitde9648ca847cf032aab6da9cac1217bf9cca9c90 (patch)
treec4ed76cbfd4a8d713111f62aaa8173ee339f8eaf /lib/PublicInbox/WWW.pm
parent934fea5e3b3c4c1ef0cef29477941ebfc44ff7e0 (diff)
downloadpublic-inbox-de9648ca847cf032aab6da9cac1217bf9cca9c90.tar.gz
It's still as slow as before with hundreds/thousands of inboxes,
but at least it's fair.  Future changes will allow it to be
cached and memoized with persistent HTTP servers.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 2ea5d80d..93ab3c9d 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -509,8 +509,8 @@ sub get_inbox_manifest ($$$) {
         my ($ctx, $inbox, $key) = @_;
         my $r404 = invalid_inbox($ctx, $inbox);
         return $r404 if $r404;
-        require PublicInbox::WwwListing;
-        PublicInbox::WwwListing::js($ctx->{env}, [$ctx->{-inbox}]);
+        require PublicInbox::ManifestJsGz;
+        PublicInbox::ManifestJsGz::response($ctx->{env}, [$ctx->{-inbox}]);
 }
 
 sub get_attach {