#10168: Can't configure memcached backend to use unix socket
-----------------------------------+----------------------------------------
Reporter: munhitsu | Owner: nobody
Status: closed | Milestone:
Component: Cache system | Version: 1.0
Resolution: wontfix | Keywords: enhancement
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by Sundance):
Replying to [comment:4 seifert]:
> I use python-memcached.
In python-memcache 1.40, the setting you suggest fails with the following
exception:
{{{
ValueError: invalid literal for int() with base 10: '/tmp/memcached.sock'
}}}
However, it does work with python-memcache 1.43, the latest at this time.
Since python-memcache consists of but one file, memcache.py, I suggest
that you ship the appropriate version of this file as part of your site's
code, with the sys.path properly set so that it's your shipped version
that gets imported by Django rather than that of the system.
The resolution of this ticket requires no code change in Django, but the
documentation should probably be updated to mention this possibility. What
do you think, Django people?
--
Ticket URL: <http://code.djangoproject.com/ticket/10168#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---