From: Grant Slater Date: Fri, 5 Aug 2022 14:16:32 +0000 (+0300) Subject: mediawiki: increase wgHTTPTimeout X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/912efbc1f99141d3e1540fc127496f80c81b310e mediawiki: increase wgHTTPTimeout --- 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;