dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Search suggestion API requests make up a substantial portion of our total apache...
[lhc/web/wiklou.git]
/
includes
/
DefaultSettings.php
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
2c964db
..
c38c380
100644
(file)
--- a/
includes/DefaultSettings.php
+++ b/
includes/DefaultSettings.php
@@
-2074,6
+2074,11
@@
$wgEnableMWSuggest = false;
*/
$wgEnableOpenSearchSuggest = true;
+/**
+ * Expiry time for search suggestion responses
+ */
+$wgSearchSuggestCacheExpiry = 1200;
+
/**
* Template for internal MediaWiki suggestion engine, defaults to API action=opensearch
*