#33497: Database persistent connections do not work with ASGI in 4.0
-------------------------------------+-------------------------------------
Reporter: Stenkar | Owner: (none)
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
-------------------------------------+-------------------------------------
Comment (by Florian Apolloner):
> Even with a very high max connection count and a small timeout value,
I'm seeing occasional `OperationalError: couldn't get a connection after X
sec` errors.
This make sense, a small timeout value increases the chance to see this
error if you are already running out of connections. Whether there really
is a leak or not is impossible to tell without having more information
about your codebase and settings.
--
Ticket URL: <https://code.djangoproject.com/ticket/33497#comment:43>
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/0107019244c36477-4615e4e3-ba1d-4e65-8334-13f8cf812a3d-000000%40eu-central-1.amazonses.com.