X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FMemcachedBagOStuff.php;h=f7bf86b905a856561920b617b828d24fd293065f;hb=67072948b6210b836e864ed6096b16027caeb300;hp=5128d824b2a8cda5dc70a580c1488c402e1fe473;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/MemcachedBagOStuff.php b/includes/libs/objectcache/MemcachedBagOStuff.php index 5128d824b2..f7bf86b905 100644 --- a/includes/libs/objectcache/MemcachedBagOStuff.php +++ b/includes/libs/objectcache/MemcachedBagOStuff.php @@ -45,7 +45,7 @@ class MemcachedBagOStuff extends BagOStuff { protected function applyDefaultParams( $params ) { return $params + [ 'compress_threshold' => 1500, - 'connect_timeout' => .5, + 'connect_timeout' => 0.5, 'debug' => false ]; } @@ -137,7 +137,7 @@ class MemcachedBagOStuff extends BagOStuff { ); if ( $charsLeft < 0 ) { - return $keyspace . ':##' . md5( implode( ':', $args ) ); + return $keyspace . ':BagOStuff-long-key:##' . md5( implode( ':', $args ) ); } return $keyspace . ':' . implode( ':', $args );