X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FMemcachedBagOStuff.php;h=9f1c98ab58ef61fe97ccc8deacc07673105e45ba;hb=eee30a9434ba5ba2dc2f1c2b3b5632543fcbc773;hp=cfbf2b3e805f1c855f4fc16f247368ef037f811f;hpb=dfec83932fd38a9086eb5a2e212889ad00f35b0e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/MemcachedBagOStuff.php b/includes/libs/objectcache/MemcachedBagOStuff.php index cfbf2b3e80..9f1c98ab58 100644 --- a/includes/libs/objectcache/MemcachedBagOStuff.php +++ b/includes/libs/objectcache/MemcachedBagOStuff.php @@ -26,7 +26,7 @@ * * @ingroup Cache */ -abstract class MemcachedBagOStuff extends BagOStuff { +abstract class MemcachedBagOStuff extends MediumSpecificBagOStuff { function __construct( array $params ) { parent::__construct( $params ); @@ -34,20 +34,6 @@ abstract class MemcachedBagOStuff extends BagOStuff { $this->segmentationSize = $params['maxPreferedKeySize'] ?? 917504; // < 1MiB } - /** - * Fill in some defaults for missing keys in $params. - * - * @param array $params - * @return array - */ - protected function applyDefaultParams( $params ) { - return $params + [ - 'compress_threshold' => 1500, - 'connect_timeout' => 0.5, - 'debug' => false - ]; - } - /** * Construct a cache key. *