Page MenuHomePhabricator

Replace ILBFactory and ILoadBalancer with injecting new Db-Service in Repo's SqlSubscriptionLookup
Closed, ResolvedPublic

Description

Aside from the usual

$dbr = $this->dbLoadBalancer->getConnection( DB_REPLICA );

this is also using

$this->dbLoadBalancer->reuseConnection( $dbr );

Event Timeline

Change 698159 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/Wikibase@master] DomainDb: replace ILoadBalancer in Change dispatching

https://gerrit.wikimedia.org/r/698159

Change 698159 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] DomainDb: replace ILoadBalancer in Change dispatching

https://gerrit.wikimedia.org/r/698159