X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWiki.php;h=6cf718c5bc5d04b6248e8b784c621b28f6b414c1;hb=42db755b218345715da80d40ee53bd3a4e4d9820;hp=4bf8fd3a59ffb9cf84d627271039472286468910;hpb=7a74e085d926a2a8bcb5d2ef1a703e3c72ca083a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Wiki.php b/includes/Wiki.php index 4bf8fd3a59..6cf718c5bc 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -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 ) {