Merge "Reduce connect timeout in MediaWiki::triggerJobs"
This commit is contained in:
commit
0238d4c01b
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue