https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112251

Revision: 112251
Author:   wikinaut
Date:     2012-02-23 22:24:00 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
increased wgRSSFetchTimeout default from 5 to 15 seconds - many sites are too 
slow.

Modified Paths:
--------------
    trunk/extensions/RSS/RSS.php
    trunk/extensions/RSS/RSSHooks.php

Modified: trunk/extensions/RSS/RSS.php
===================================================================
--- trunk/extensions/RSS/RSS.php        2012-02-23 22:14:25 UTC (rev 112250)
+++ trunk/extensions/RSS/RSS.php        2012-02-23 22:24:00 UTC (rev 112251)
@@ -52,7 +52,7 @@
 $wgRSSCacheCompare = false;
 
 // 5 second timeout
-$wgRSSFetchTimeout = 5;
+$wgRSSFetchTimeout = 15;
 
 // Ignore the RSS tag in all but the namespaces listed here.
 // null (the default) means the <rss> tag can be used anywhere.

Modified: trunk/extensions/RSS/RSSHooks.php
===================================================================
--- trunk/extensions/RSS/RSSHooks.php   2012-02-23 22:14:25 UTC (rev 112250)
+++ trunk/extensions/RSS/RSSHooks.php   2012-02-23 22:24:00 UTC (rev 112251)
@@ -34,7 +34,7 @@
 
                switch ( true ) {
        
-               # disallow because there is no whitelist or emtpy whitelist
+               # disallow because there is no whitelist or empty whitelist
                case ( !isset( $wgRSSUrlWhitelist ) 
                        || !is_array( $wgRSSUrlWhitelist )
                        || ( count( $wgRSSUrlWhitelist ) === 0 ) ):


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to