projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfff9b0
)
www: preload: load ExtSearch via ->ALL
author
Eric Wong <e@80x24.org>
Wed, 13 Oct 2021 07:00:38 +0000 (07:00 +0000)
committer
Eric Wong <e@80x24.org>
Wed, 13 Oct 2021 19:51:21 +0000 (19:51 +0000)
This ought to give us more CoW savings and fragmentation
avoidance in -httpd.
lib/PublicInbox/WWW.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/WWW.pm
b/lib/PublicInbox/WWW.pm
index 5e83f76915d5f1e0b2bcf1f3afafe09eb3c50af6..b4db0582db79dfaa215f63b7f311133c64e93b80 100644
(file)
--- a/
lib/PublicInbox/WWW.pm
+++ b/
lib/PublicInbox/WWW.pm
@@
-170,6
+170,7
@@
sub preload {
if (defined($pi_cfg->{'publicinbox.cgitrc'})) {
$pi_cfg->limiter('-cgit');
}
+ $pi_cfg->ALL and require PublicInbox::Isearch;
$self->cgit;
$self->stylesheets_prepare($_) for ('', '../', '../../');
$self->news_www;