#32589: Document the need for calling close_old_connections in long-running
management commands.
-----------------------------------------+------------------------
Reporter: GwynBleidD | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
It is mentioned in
[https://github.com/django/deps/blame/main/accepted/0009-async.rst#L429-L431
one of the DEPs] that any long-running management command should
periodically call `close_old_connections` to get rid of any connections
that can't be re-used any longer, but there is no mention about that
anywhere in the Documentation.
This should be probably documented somewhere next to the management
commands or in advanced database usage examples.
--
Ticket URL: <https://code.djangoproject.com/ticket/32589>
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/049.9b081545ef75ffd64b674fba203e2eb4%40djangoproject.com.