#21012: Provide shared "caches" dict to avoid creating multiple cache class instances. --------------------------------------+------------------------------------ Reporter: FunkyBob | Owner: FunkyBob Type: Cleanup/optimization | Status: assigned Component: Core (Cache system) | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by FunkyBob): I realise it will need a test, but for now could someone read over: https://github.com/funkybob/django/compare/ticket-21012 Would a test which fired up two threads and: 1. had them ask for the same cache and assert identical 2. ask for different caches and assert them different be sufficient? -- Ticket URL: <https://code.djangoproject.com/ticket/21012#comment:8> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.96b9a7f6861731cb4e73bd49e89d1fb8%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.