From 60f38818f2dbc76e20041cf1b01e2baf3322a1f1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 11 Feb 2017 00:41:29 +0000 Subject: repo: lazily read description and cloneurl This improves startup speed at the cost of CoW-friendliness for long-lived daemons (which can be fixed, later). --- lib/PublicInbox/RepoBase.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/RepoBase.pm') diff --git a/lib/PublicInbox/RepoBase.pm b/lib/PublicInbox/RepoBase.pm index e60677d6..97f13b25 100644 --- a/lib/PublicInbox/RepoBase.pm +++ b/lib/PublicInbox/RepoBase.pm @@ -59,7 +59,7 @@ sub mime_type { # starts an HTML page for Repobrowse in a consistent way sub html_start { my ($self, $req, $title_html, $opts) = @_; - my $desc = $req->{repo_info}->{desc_html}; + my $desc = $req->{repo_info}->desc_html; my $meta = ''; if ($opts) { -- cgit v1.2.3-24-ge0c7