diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-29 17:31:57 +0200 |
---|---|---|
committer | dklawren <dklawren@users.noreply.github.com> | 2018-06-29 17:31:57 +0200 |
commit | ec233fdb94fa237c6bc024b01ff1d4585a125f00 (patch) | |
tree | bd16febc81f32a2a004eb6d0615cc3b17136e40f /Bugzilla | |
parent | dbe2e8705677c107782f60a0cc4324858c6fa6a7 (diff) | |
download | bugzilla-ec233fdb94fa237c6bc024b01ff1d4585a125f00.tar.gz bugzilla-ec233fdb94fa237c6bc024b01ff1d4585a125f00.tar.xz |
Revert cereal code as risk mitigation for friday push
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Memcached.pm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Bugzilla/Memcached.pm b/Bugzilla/Memcached.pm index bc0e2cfb7..d34aaa595 100644 --- a/Bugzilla/Memcached.pm +++ b/Bugzilla/Memcached.pm @@ -34,19 +34,17 @@ sub _new { # disabled. my $servers = Bugzilla->localconfig->{memcached_servers}; if (Bugzilla->feature('memcached') && $servers) { - require Sereal; $self->{namespace} = Bugzilla->localconfig->{memcached_namespace}; TRACE("connecting servers: $servers, namespace: $self->{namespace}"); $self->{memcached} = Cache::Memcached::Fast->new( { - servers => [ _parse_memcached_server_list($servers) ], - namespace => $self->{namespace}, - serialize_methods => { \&Sereal::Encoder::encode_sereal, \&Sereal::Decoder::decode_sereal }, - max_size => 1024 * 1024 * 4, - max_failures => 1, - failure_timeout => 60, - io_timeout => 0.2, - connect_timeout => 0.2, + servers => [ _parse_memcached_server_list($servers) ], + namespace => $self->{namespace}, + max_size => 1024 * 1024 * 4, + max_failures => 1, + failure_timeout => 60, + io_timeout => 0.2, + connect_timeout => 0.2, } ); my $versions = $self->{memcached}->server_versions; |