Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Suport for Django 1.11 add dummy MAX_ENTRIES and CULL_FREQUENCY

For pip install

```
pip install -e git+https://github.com/jpmcpe/python3-memcached.git#egg=python3_memcached
```

Below is the original README content.

----
Important Deprecation Note: This was a py3 compatibility port of https://github.com/linsomniac/python-memcached
which since then has added py23. So you should use that.

Expand Down
2 changes: 1 addition & 1 deletion memcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class MemcachedStringEncodingError(Exception):

def __init__(self, servers, debug=0, pickleProtocol=0,
pickler=pickle.Pickler, unpickler=pickle.Unpickler,
pload=None, pid=None,
pload=None, pid=None, MAX_ENTRIES=300, CULL_FREQUENCY=3,
server_max_key_length=SERVER_MAX_KEY_LENGTH,
server_max_value_length=SERVER_MAX_VALUE_LENGTH,
dead_retry=_DEAD_RETRY, socket_timeout=_SOCKET_TIMEOUT,
Expand Down