Index: trunk/extensions/Translate/TranslateTasks.php |
— | — | @@ -192,7 +192,8 @@ |
193 | 193 | $start = time(); |
194 | 194 | |
195 | 195 | foreach ( $this->collection->keys() as $key => $_ ) { |
196 | | - if ( time() - $start > 5 || TranslationHelpers::checkTranslationServiceFailure( 'tmserver' ) ) { |
| 196 | + // Allow up to 10 seconds to search for suggestions. |
| 197 | + if ( time() - $start > 10 || TranslationHelpers::checkTranslationServiceFailure( 'tmserver' ) ) { |
197 | 198 | unset( $this->collection[$key] ); |
198 | 199 | continue; |
199 | 200 | } |