X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FRESTBagOStuff.php;h=ae91be51de6d428a6985f7aca7bbefd4bd710fdb;hb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9;hp=9fc3fe1dc85b2f8c757ea9e5c355a1900d0bfdbd;hpb=d1ac58cd85c46b5c9265ba479a45fd348c554064;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/RESTBagOStuff.php b/includes/libs/objectcache/RESTBagOStuff.php index 9fc3fe1dc8..ae91be51de 100644 --- a/includes/libs/objectcache/RESTBagOStuff.php +++ b/includes/libs/objectcache/RESTBagOStuff.php @@ -51,6 +51,8 @@ class RESTBagOStuff extends BagOStuff { } // Make sure URL ends with / $this->url = rtrim( $params['url'], '/' ) . '/'; + // Default config, R+W > N; no locks on reads though; writes go straight to state-machine + $this->attrMap[self::ATTR_SYNCWRITES] = self::QOS_SYNCWRITES_QC; } /**