X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Flbfactory%2FLBFactory.php;h=c891fb6ba7f99cbd3285285ab642da1a8c620ef5;hp=919f103be15ec75b462c7af69803c6bfee89dcf5;hb=e7720b8f8e09287384ddee271641d1b1721318bb;hpb=7471e1db1b613d035f981f489f8683a177acff7e diff --git a/includes/libs/rdbms/lbfactory/LBFactory.php b/includes/libs/rdbms/lbfactory/LBFactory.php index 919f103be1..c891fb6ba7 100644 --- a/includes/libs/rdbms/lbfactory/LBFactory.php +++ b/includes/libs/rdbms/lbfactory/LBFactory.php @@ -55,7 +55,7 @@ abstract class LBFactory implements ILBFactory { /** @var BagOStuff */ protected $srvCache; /** @var BagOStuff */ - protected $memCache; + protected $memStash; /** @var WANObjectCache */ protected $wanCache; @@ -93,7 +93,7 @@ abstract class LBFactory implements ILBFactory { } $this->srvCache = isset( $conf['srvCache'] ) ? $conf['srvCache'] : new EmptyBagOStuff(); - $this->memCache = isset( $conf['memCache'] ) ? $conf['memCache'] : new EmptyBagOStuff(); + $this->memStash = isset( $conf['memStash'] ) ? $conf['memStash'] : new EmptyBagOStuff(); $this->wanCache = isset( $conf['wanCache'] ) ? $conf['wanCache'] : WANObjectCache::newEmpty(); @@ -435,7 +435,7 @@ abstract class LBFactory implements ILBFactory { } $this->chronProt = new ChronologyProtector( - $this->memCache, + $this->memStash, [ 'ip' => $this->requestInfo['IPAddress'], 'agent' => $this->requestInfo['UserAgent'],