From 912efbc1f99141d3e1540fc127496f80c81b310e Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 5 Aug 2022 17:16:32 +0300 Subject: [PATCH 1/1] mediawiki: increase wgHTTPTimeout --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 1efeb757a..af915be22 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -419,3 +419,8 @@ unset( $wgRemoveGroups['autoconfirmed'] ); unset( $wgGroupsAddToSelf['autoconfirmed'] ); unset( $wgGroupsRemoveFromSelf['autoconfirmed'] ); <% end -%> + +# Increase curl timeout to allow parsoid requests to heavy pages like Map Features +# Mediawiki 1.38 has fix to allow this to be set by $wgVirtualRestConfig +# https://phabricator.wikimedia.org/T285478 +$wgHTTPTimeout = 60; -- 2.39.5