X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Floadbalancer%2FLoadBalancer.php;h=f2f9eb070911652f20c4f702debbf4e01b2a6f26;hb=695d7c28fe7036e9988ce92908185ebc41238296;hp=22c0db2e9e80fe5b6ad12f4739518df636c285b4;hpb=de5c5cd356e081023690eddca1ded3ffe85e2cbe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancer.php b/includes/libs/rdbms/loadbalancer/LoadBalancer.php index 22c0db2e9e..f2f9eb0709 100644 --- a/includes/libs/rdbms/loadbalancer/LoadBalancer.php +++ b/includes/libs/rdbms/loadbalancer/LoadBalancer.php @@ -603,7 +603,7 @@ class LoadBalancer implements ILoadBalancer { * Wait for a given replica DB to catch up to the master pos stored in $this * @param int $index Server index * @param bool $open Check the server even if a new connection has to be made - * @param int $timeout Max seconds to wait; default is "waitTimeout" given to __construct() + * @param int|null $timeout Max seconds to wait; default is "waitTimeout" given to __construct() * @return bool */ protected function doWait( $index, $open = false, $timeout = null ) {