* cc: daevaorn@… (added)
* easy: => 0
--
Ticket URL: <http://code.djangoproject.com/ticket/11331#comment:6>
* cc: harm.verhagen+django@… (added)
--
Ticket URL: <http://code.djangoproject.com/ticket/11331#comment:7>
Django <https://code.djangoproject.com/>
* cc: rwillmer (added)
* ui_ux: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:8>
* cc: trbs@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:9>
* stage: Design decision needed => Accepted
Comment:
I recently added support for persistent database connections, I guess we
could do something similar for cache connections.
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:10>
* cc: jeremy.orem@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:11>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
* needs_tests: 0 => 1
* needs_docs: 0 => 1
Comment:
https://github.com/django/django/pull/4866
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:12>
* owner: nobody => edmorley
* cc: emorley@… (added)
* status: new => assigned
Comment:
I'm going to open a new PR for this - however one question:
We definitely need to `disconnect_all()` for python-memcached (since it's
why this behaviour was added in #5133), and definitely don't want it for
pylibmc (see pylibmc owner's comment here:
https://github.com/django/django/pull/4866#issue-88649865) -- but what
about third party backends? (eg python-binary-memcached and pymemcache)
ie: should I move the `disconnect_all()` from the base class to the
python-memcached backend (`MemcachedCache`), or make it a no-op only for
the `PyLibMCCache` backend?
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:13>
* keywords: => pylibmc
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
* needs_docs: 1 => 0
Comment:
The question in comment 13 was discussed in
https://github.com/django/django/pull/4866#issuecomment-242985539 onwards,
with the conclusion being that we should special-case pylibmc rather than
python-memcached.
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:14>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f02dbbe1ae02c3258fced7b7a75d35d7745cc02a" f02dbbe1]:
{{{
#!CommitTicketReference repository=""
revision="f02dbbe1ae02c3258fced7b7a75d35d7745cc02a"
Fixed #11331 -- Stopped closing pylibmc connections after each request.
libmemcached manages its own connections, so isn't affected by refs #5133.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/11331#comment:15>