#32076: Adding async methods to BaseCache
-------------------------------------+-------------------------------------
     Reporter:  Andrew Chen Wang     |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Core (Cache system)  |                  Version:  master
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  cache                |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Andrew Godwin):

 My interpretation of DEP-9 is that we need to add default `_async` variant
 methods to BaseCache that pass through to the synchronous versions - this
 seems to be what the ticket is proposing, on its surface.

 The cache closing problem is a bit larger, though - if we need to do more
 work than just slapping async methods into the system that use
 sync_to_async to make it all work properly, then I suspect we're going to
 have to do this in a bit more of a formal process than just a single
 ticket/PR.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32076#comment:4>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/074.da9c4b8e3dbbd0982daa488e803c806e%40djangoproject.com.

Reply via email to