]> Sergey Matveev's repositories - public-inbox.git/commitdiff
searchview: increase limit for displaying search results
authorEric Wong <e@80x24.org>
Mon, 6 Feb 2017 02:38:37 +0000 (02:38 +0000)
committerEric Wong <e@80x24.org>
Mon, 6 Feb 2017 02:38:37 +0000 (02:38 +0000)
We are in no danger of excessive buffering or OOM-ing,
the main page for every inbox already loads 200 results;
and thread page views even load 1000!  Increase this to
200 for now.

lib/PublicInbox/SearchView.pm

index 5a95a055eb3230c7cfd49db1317b0cfa11f5c9f9..f1c4b6a052181e28c28127403a07d3732972151b 100644 (file)
@@ -13,7 +13,7 @@ use PublicInbox::MID qw(mid2path mid_mime mid_clean mid_escape);
 use PublicInbox::MIME;
 require PublicInbox::Git;
 require PublicInbox::SearchThread;
-our $LIM = 50;
+our $LIM = 200;
 
 sub noop {}