You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symfony version(s) affected: 3.4.* (but pretty sure all version have it)
Description
When you want to change the serializer option for memcached, it gets overriden by the default options.
How to reproduce MemcachedAdapter::createConnection($serversDsn, [\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY]);
// this creates the connections with the default serializer PHP from the MemcachedTrait $defaultClientOptions
Symfony version(s) affected: 3.4.* (but pretty sure all version have it)
Description
When you want to change the serializer option for memcached, it gets overriden by the default options.
How to reproduce
MemcachedAdapter::createConnection($serversDsn, [\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY]);
// this creates the connections with the default serializer PHP from the MemcachedTrait $defaultClientOptions
Possible Solution
instead of using this:
use this:
The text was updated successfully, but these errors were encountered: