about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-04 20:04:29 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-05 20:00:58 +0000
commit9825426219e7772f1e44840dd2cdf548bf73ad63 (patch)
treebe6a3785943d1e6bc2ad6cf25676ffb243fb1a71 /lib/PublicInbox/Search.pm
parentbd6ebb9a79aa703b161b8e4b3055a52f718c6c29 (diff)
downloadpublic-inbox-9825426219e7772f1e44840dd2cdf548bf73ad63.tar.gz
The skeleton DB is smaller and hit more frequently given the
homepage and per-message/thread views; so it will be hotter in
the page cache.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 4dc27472..dc46ead0 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -381,7 +381,7 @@ sub lookup_message {
 sub lookup_mail { # no ghosts!
         my ($self, $mid) = @_;
         retry_reopen($self, sub {
-                my $smsg = lookup_message($self, $mid) or return;
+                my $smsg = lookup_skeleton($self, $mid) or return;
                 $smsg->load_expand;
         });
 }