#24810: Reopen database connection automatically when no transaction is active
-------------------------------------+-------------------------------------
Reporter: Aymeric Augustin | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
This ticket relates to #14845 which ought to document the database
connection-creation and management process.
If that can be of any help
[https://code.djangoproject.com/ticket/34914#comment:3 an established
pattern when dealing long running management commands] is to call
`close_old_connections` in strategic locations alike to how it's called
between each HTTP requests that Django serves.
--
Ticket URL: <https://code.djangoproject.com/ticket/24810#comment:19>
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/0107018bbf0002e6-ad54df99-bcac-4dc6-a79e-b2db760c816a-000000%40eu-central-1.amazonses.com.