#32049: Database connection differs between Middleware and views running under
ASGI.
-------------------------------------+-------------------------------------
     Reporter:  Hugo Osvaldo         |                    Owner:  nobody
  Barrera                            |
         Type:  Bug                  |                   Status:  closed
    Component:  HTTP handling        |                  Version:  3.1
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  ASGI                 |             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):

 It's worth noting that I still consider this a bug since it's a type of
 failure, but it's already been fixed in asgiref:
 
https://github.com/django/asgiref/commit/7becc9daca2628c46af1cb7e46b4c47c1ea27adf

 As of the next release, that will enforce that all synchronous calls run
 inside the same, single thread, slightly hurting performance but crucially
 meaning that this issue would not have happened.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32049#comment:9>
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/068.c6c09cf4bda9e9e4ae8157bf4c7ef378%40djangoproject.com.

Reply via email to