Skip to content

Commit

Permalink
[Cache] Memcached options should ignore "lazy"
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 19, 2017
1 parent 4baf968 commit de5f41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Traits/MemcachedTrait.php
Expand Up @@ -130,7 +130,7 @@ public static function createConnection($servers, array $options = array())
}

// set client's options
unset($options['persistent_id'], $options['username'], $options['password'], $options['weight']);
unset($options['persistent_id'], $options['username'], $options['password'], $options['weight'], $options['lazy']);
$options = array_change_key_case($options, CASE_UPPER);
$client->setOption(\Memcached::OPT_BINARY_PROTOCOL, true);
$client->setOption(\Memcached::OPT_NO_BLOCK, true);
Expand Down

0 comments on commit de5f41d

Please sign in to comment.