mozilla/django-memcached-pool

Use higuest pickle protocol

Closed this issue · 0 comments

By default pickle.dumps use protocol 0. Maybe be better and more efficiently to use pickle.HIGHEST_PROTOCOL.

Also, to maintain django standard, since all backends use it (but MemcachedCache, which may be a bug)

Related:
https://code.djangoproject.com/ticket/19810
https://code.djangoproject.com/ticket/16378