Skip to content

Commit de5f41d

Browse files
[Cache] Memcached options should ignore "lazy"
1 parent 4baf968 commit de5f41d

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)