#33497: Database persistent connections do not work with ASGI in 4.0
-------------------------------------+-------------------------------------
Reporter: Stenkar | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: ASGI, Database, | Triage Stage: Accepted
async |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by lappu):
* cc: lappu (added)
Comment:
We just ran into this while upgrading from 3.2 to 4.2. During a QA round
our staging environment '''MySQL''' server running on AWS RDS t3.micro
instance exceeded its max connections (70? or so, while normally the
connections stay below 10).
I git bisected the culprit to be
https://github.com/django/django/commit/36fa071d6ebd18a61c4d7f1b5c9d17106134bd44,
which is what Carlton Gibson suspected.
We are also running uvicorn.
--
Ticket URL: <https://code.djangoproject.com/ticket/33497#comment:21>
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/010701889f5da40c-858b83b6-ea50-4bcc-be28-ea69d0fadf62-000000%40eu-central-1.amazonses.com.