Merge "Reduce connect timeout in MediaWiki::triggerJobs"

This commit is contained in:
jenkins-bot 2014-03-25 23:15:30 +00:00 committed by Gerrit Code Review
commit 0238d4c01b

View file

@ -655,7 +655,10 @@ class MediaWiki {
$info['host'],
isset( $info['port'] ) ? $info['port'] : 80,
$errno,
$errstr
$errstr,
// If it takes more than 100ms to connect to ourselves there
// is a problem elsewhere.
0.1
);
wfRestoreWarnings();
if ( !$sock ) {