Opened 13 years ago
Closed 13 years ago
#16489 closed Bug (duplicate)
cache.close connection to request_finished needs to apply to all caches
Reported by: | Jeremy Dunck | Owned by: | nobody |
---|---|---|---|
Component: | Core (Cache system) | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There is support for closing cache (if it has a .close callable), as seen here:
https://code.djangoproject.com/browser/django/trunk/django/core/cache/__init__.py?rev=16549#L181
The trouble is that the request_finished connection is made only for the default .cache attribute. This should be done for each cache backend, not just DEFAULT_CACHE_ALIAS.
Change History (2)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Exact same issue as #17286.
Note:
See TracTickets
for help on using tickets.
AFAICT this is an omission in r15005.