X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=blobdiff_plain;ds=sidebyside;f=load.php;h=1997fe73fcdd0852d0cbc2ccc71c162b322b136b;hb=c1c0d243522d477799bb5ca325a100fa6a86a7fd;hp=974771f9781c832a9c82dba243f5c419641e8fc1;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index 974771f978..1997fe73fc 100644 --- a/load.php +++ b/load.php @@ -36,11 +36,9 @@ if ( !$wgRequest->checkUrlExtension() ) { return; } -// Don't initialise ChronologyProtector from object cache, and -// don't wait for unrelated MediaWiki writes when querying ResourceLoader. -MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->setRequestInfo( [ - 'ChronologyProtection' => 'false', -] ); +// Disable ChronologyProtector so that we don't wait for unrelated MediaWiki +// writes when getting database connections for ResourceLoader. (T192611) +MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->disableChronologyProtection(); // Set up ResourceLoader $resourceLoader = new ResourceLoader(