X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FRESTBagOStuff.php;h=ae91be51de6d428a6985f7aca7bbefd4bd710fdb;hb=61898ad28ed69c5b391eb43e0db9386279b9612c;hp=9fc3fe1dc85b2f8c757ea9e5c355a1900d0bfdbd;hpb=5c1b3768ed022978edb038df14e0f15874eea7b4;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; } /**