#31515: Django tries to reuse MySQL connections that have gone away with ASGI
-------------------------------------+-------------------------------------
Reporter: Braunson | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
You don't have to be explicitly using asgiref to be affected by the issue;
Django uses it internally to keep reference to database connections and
other globals.
Could you try upgrading to `asgiref>=3.2.7` and see if it helps? Prior
version had a bug which showed similar symptoms in #31373.
--
Ticket URL: <https://code.djangoproject.com/ticket/31515#comment:3>
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/067.05e36c2e4baa3609578d618ecea593b8%40djangoproject.com.