Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/253889
Change subject: Close database connections in SqlChangeDispatchCoordinator ...................................................................... Close database connections in SqlChangeDispatchCoordinator instead of mark for reuse Bug: T118162 Change-Id: Iaa0b1132239d5c54dd3306e02d8a9a6536a4aace --- M repo/includes/store/sql/SqlChangeDispatchCoordinator.php 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/89/253889/1 diff --git a/repo/includes/store/sql/SqlChangeDispatchCoordinator.php b/repo/includes/store/sql/SqlChangeDispatchCoordinator.php index b4defc3..7976c5e 100644 --- a/repo/includes/store/sql/SqlChangeDispatchCoordinator.php +++ b/repo/includes/store/sql/SqlChangeDispatchCoordinator.php @@ -309,18 +309,18 @@ } /** - * @param DatabaseBase $db: the repo database connection to release for re-use. + * @param DatabaseBase $db: close the repo database connection. */ private function releaseRepoMaster( DatabaseBase $db ) { - $this->getRepoLB()->reuseConnection( $db ); + $this->getRepoLB()->closeConnection( $db ); } /** * @param string|bool $wikiDB: the logical name of the client wiki's database. - * @param DatabaseBase $db: the client database connection to release for re-use. + * @param DatabaseBase $db: close the client database connection. */ private function releaseClientMaster( $wikiDB, DatabaseBase $db ) { - $this->getClientLB( $wikiDB )->reuseConnection( $db ); + $this->getClientLB( $wikiDB )->closeConnection( $db ); } /** -- To view, visit https://gerrit.wikimedia.org/r/253889 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaa0b1132239d5c54dd3306e02d8a9a6536a4aace Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits