Opened 3 years ago

Closed 3 years ago

#32589 closed Uncategorized (duplicate)

Document the need for calling close_old_connections in long-running management commands.

Reported by: GwynBleidD Owned by: nobody
Component: Documentation Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It is mentioned in 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.

Change History (1)

comment:1 by Carlton Gibson, 3 years ago

Resolution: duplicate
Status: newclosed

I'm inclined to think this should be part of #14845, connections management in general being a little under-documented.

Note: See TracTickets for help on using tickets.
Back to Top