http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70689
Revision: 70689 Author: siebrand Date: 2010-08-08 13:03:43 +0000 (Sun, 08 Aug 2010) Log Message: ----------- Allow up to 10 seconds to search for suggestions. Modified Paths: -------------- trunk/extensions/Translate/TranslateTasks.php Modified: trunk/extensions/Translate/TranslateTasks.php =================================================================== --- trunk/extensions/Translate/TranslateTasks.php 2010-08-08 12:34:53 UTC (rev 70688) +++ trunk/extensions/Translate/TranslateTasks.php 2010-08-08 13:03:43 UTC (rev 70689) @@ -192,7 +192,8 @@ $start = time(); foreach ( $this->collection->keys() as $key => $_ ) { - if ( time() - $start > 5 || TranslationHelpers::checkTranslationServiceFailure( 'tmserver' ) ) { + // Allow up to 10 seconds to search for suggestions. + if ( time() - $start > 10 || TranslationHelpers::checkTranslationServiceFailure( 'tmserver' ) ) { unset( $this->collection[$key] ); continue; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs