Skip to content

Commit 219d710

Browse files
bug symfony#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 | symfony#25036 | License | MIT | Doc PR | - Commits ------- de5f41d [Cache] Memcached options should ignore "lazy"
2 parents 8d7b959 + de5f41d commit 219d710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Cache/Traits/MemcachedTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public static function createConnection($servers, array $options = array())
130130
}
131131

132132
// set client's options
133-
unset($options['persistent_id'], $options['username'], $options['password'], $options['weight']);
133+
unset($options['persistent_id'], $options['username'], $options['password'], $options['weight'], $options['lazy']);
134134
$options = array_change_key_case($options, CASE_UPPER);
135135
$client->setOption(\Memcached::OPT_BINARY_PROTOCOL, true);
136136
$client->setOption(\Memcached::OPT_NO_BLOCK, true);

0 commit comments

Comments
 (0)