bug #25038 [Cache] Memcached options should ignore "lazy" (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[Cache] Memcached options should ignore "lazy"

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25036
| License       | MIT
| Doc PR        | -

Commits
-------

de5f41d [Cache] Memcached options should ignore "lazy"
This commit is contained in:
Nicolas Grekas 2017-11-19 22:24:23 +01:00
commit 219d71054f

View File

@ -130,7 +130,7 @@ trait MemcachedTrait
}
// 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);