Commit 797e3bf7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use the higest available pickle protocol version for better efficiency.

parent 0d0f8529
......@@ -113,6 +113,7 @@ if memcache is not None:
def _initialiseConnection(self):
self.memcached_connection = memcache.Client(
self.server_list,
pickleProtocol=-1, # use the highest available version
server_max_key_length=self.server_max_key_length,
server_max_value_length=self.server_max_value_length,
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment