jenkins-bot has submitted this change and it was merged. Change subject: Make LBFactorySingle call initLoadBalancer() as the others do ......................................................................
Make LBFactorySingle call initLoadBalancer() as the others do Change-Id: I0ef09d7f4ffbba1debb43def785f0052139d7d86 --- M includes/libs/rdbms/lbfactory/LBFactorySingle.php 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: Gergő Tisza: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/libs/rdbms/lbfactory/LBFactorySingle.php b/includes/libs/rdbms/lbfactory/LBFactorySingle.php index af4a350..a64117f 100644 --- a/includes/libs/rdbms/lbfactory/LBFactorySingle.php +++ b/includes/libs/rdbms/lbfactory/LBFactorySingle.php @@ -39,7 +39,9 @@ throw new InvalidArgumentException( "Missing 'connection' argument." ); } - $this->lb = new LoadBalancerSingle( array_merge( $this->baseLoadBalancerParams(), $conf ) ); + $lb = new LoadBalancerSingle( array_merge( $this->baseLoadBalancerParams(), $conf ) ); + $this->initLoadBalancer( $lb ); + $this->lb = $lb; } /** -- To view, visit https://gerrit.wikimedia.org/r/317302 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0ef09d7f4ffbba1debb43def785f0052139d7d86 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Gergő Tisza <gti...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits