This should be pretty simple with only a single usage of the load balancer:
private function getDbr() { return $this->loadBalancer->getConnection( ILoadBalancer::DB_REPLICA, [] ); }
This should be pretty simple with only a single usage of the load balancer:
private function getDbr() { return $this->loadBalancer->getConnection( ILoadBalancer::DB_REPLICA, [] ); }
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Inject RepoDomainDb into DatabaseTermsCollisionDetector | mediawiki/extensions/Wikibase | master | +28 -17 |
Change 700073 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Inject RepoDomainDb into DatabaseTermsCollisionDetector
Change 700073 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Inject RepoDomainDb into DatabaseTermsCollisionDetector